[sp_describe_cursor_columns](sp-describe-cursor-columns-transact-sql.md) [sp_describe_cursor_tables](sp-describe-cursor-tables-transact-sql.md) ...
-- This script uses a cursor to iterate through orders and calculate their totals. -- For each order, call the function from Exercise 1 to calculate the total. order_total := ...
Tim Chapman discusses your iteration choices in SQL Server 2008 and explains why determining which option performs better depends on the situation. In a previous TechRepublic column about SQL Server ...