Viewing 4 posts - 1 through 4 (of 4 total)
Similar reply like other did - Use CASE statement. Check out the link - Vyas has a nice example.
September 26, 2003 at 12:35 pm
Another nit-pick detail that contributes to improvement of the performance is that a table variable requires less locking and logging resources as the transactions involving table variable last only for...
August 12, 2003 at 12:45 pm
If you are using temp table inside a stored procedure there is an advantage using a @table instead of #table. The stored procedure will spared with the recompilation each time...
August 11, 2003 at 10:29 am
Viewing 4 posts - 1 through 4 (of 4 total)