This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
SQL SERVER - Automation Process Good or Ugly

SQL SERVER – Automation Process Good or Ugly

February 8, 2011
Pinal Dave
SQL Tips and Tricks

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.

Read More
OUTPUT INTO illustrated by a botanical printing block, blue and ochre impressions and a preserved paper stack on a printmaking bench.

OUTPUT INTO: Record Old and New Values in One Write

February 7, 2011
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Scripts, SQL Table Operation

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.

Read More
SELECT NEXT VALUE FOR Seq As SeqNumber.

SQL SERVER – Denali – SEQUENCE is not IDENTITY

January 30, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts

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.

Read More
SQL SERVER - Denali - Introduction to SEQUENCE - Simple Example of SEQUENCE

SQL SERVER – Denali – Introduction to SEQUENCE – Simple Example of SEQUENCE

January 29, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts

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.

Read More
Gouache painting: two identical toy trains with red engines and blue carriages standing on one wooden track

Text Equality: Trailing Spaces Can Compare as Equal

January 28, 2011
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Datatype, SQL Server

Text equality can match different stored strings. Check byte length and complete representation when exact identity belongs to the contract.

Read More
A receiving trough distributes small pieces through several separate channels into independent trays.

SQL SERVER – Reducing Page Contention on TempDB

January 26, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL TempDB

Page Contention on TempDB needs an identified allocation wait and server version. I check both before recommending legacy trace flags.

Read More
SQL SERVER - Denali - Clipboard Ring - CTRL+SHIFT+V

SQL SERVER – Denali – Clipboard Ring – CTRL+SHIFT+V

January 25, 2011
Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio

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.

Read More
Previous 1 … 409 410 411 412 413 414 415 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com