News

I need to select some data (surprise) from several tables in a linked database which is running SQL Server 2000.<BR><BR>Now the resulting data set will be about 10,000 records taken from ~ 8 ...
Temp tables persist until then connection closes, so you don't have to do it all in one query.<BR><BR>Alternately, try collapsing your queries and eliminate the whole idea of a temp table.
Practical .NET Speed Up Your Application with Stored Procedure and Temporary Tables Stored procedures can speed up your code by reducing trips to your database -- even if you only have one SQL ...
SQL Server procedures can have, at most, 2100 parameters. Server-side logic is required to assemble these individual values into a table variable or a temporary table for processing.