2. Who am I? Database Technology Specialist based in St. Louis, MO Former DBA and MVP Author of “Beginning T-SQL 2008” (Apress 2009) Co-Author of “Professional SQL Server 2005 Integration Services” (Wrox 2006) Contributor to “SQL Server MVP Deep Dives” (Manning 2009)
5. Sequence An alternative to Identity Create a Sequence object NEXT VALUE FOR function Caching OVER clause for sorting Needs UPDATE permission
6. Ad-hoc Query Paging ORDER BY enhancement OFFSET # ROWS FETCH FIRST/NEXT # ROWS ONLY
7. THROW Raise an exception THROW error_number, message, state Inside CATCH, raises caught error if no params specified Error number does not have to be defined in sys.messages Default severity is 16
8. WITH RESULT SETS Used with EXECUTE RESULT SETS UNDEFINED RESULT SETS NONE RESULT SETS definition