Efficient Temporary Storage in SQL
(A Limited-Scope Solution to Replace SQL Cursors)
Using a table variable is an excellent alternative to using a SQL cursor, especially when you need a temporary storage mechanism that has a limited scope. Table variables are defined using the DECLARE...
blog.seandrew.info3 min read