Is an automation process good or ugly? For T-SQL Tuesday I list the good side of automation in SQL Server, like SQL Agent jobs, and ask for your help.
OUTPUT INTO: Record Old and New Values in One Write
OUTPUT INTO records old and new values during a write, while the transaction determines whether the change survives. Test NULL transitions, unchanged values, rollback and target failures before treating captured rows as committed history.
SQL SERVER – Denali – SEQUENCE is not IDENTITY
SEQUENCE is not IDENTITY. A reader asked about the difference: identity belongs to a single column, while a sequence does not depend on any table.
SQL SERVER – Denali – Introduction to SEQUENCE – Simple Example of SEQUENCE
A quick introduction to SEQUENCE in SQL Server Denali: create a sequence with start, increment and max values, then fetch numbers with NEXT VALUE FOR.
Text Equality: Trailing Spaces Can Compare as Equal
Text equality can match different stored strings. Check byte length and complete representation when exact identity belongs to the contract.
SQL SERVER – Reducing Page Contention on TempDB
Page Contention on TempDB needs an identified allocation wait and server version. I check both before recommending legacy trace flags.
SQL SERVER – Denali – Clipboard Ring – CTRL+SHIFT+V
SQL Server Denali brings the clipboard ring from Visual Studio to SSMS. Copy a few items, then press CTRL+SHIFT+V to cycle through what you copied.







