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
One brass key blank fits a precise profile jig while a similar blank with a different ridge rests outside

LIKE Character Ranges: [a-f], [^0-9] and Collation Traps

August 9, 2011
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL NULL, SQL String, Unicode

A bracket range sounds simple until the collation decides what sits between a and f. Test it once so a bad code never reaches your table.

Read More
SQL SERVER - Tips from the Development Series - Overriding Identity Fields - Day 9 of 35

SQL SERVER – Tips from the Development Series – Overriding Identity Fields – Day 9 of 35

August 9, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Identity, SQL Scripts, SQL Server

Identity fields give each new customer or invoice a unique number, even with many users entering data. Here is when and how to go about Overriding Identity Fields.

Read More
Sales Invoice and Products table in database.

SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – Many to Many Relationships – Day 8 of 35

August 8, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts

Many to many relationships explained with an online shopping cart: one order holds many products, and one product is bought by many customers.

Read More
SQL SERVER - Tips from the SQL Joes 2 Pros Development Series - Dirty Records and Table Hints - Day 7 of 35

SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – Dirty Records and Table Hints – Day 7 of 35

August 7, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts

A Joes 2 Pros tip on dirty records and table hints: what an intermediate record is during a transaction, and how table hints change what you read.

Read More
Theaters with rows of red seats.

SQL SERVER – Row Constructors – Day 6 of 35

August 6, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts, SQL Server

Before SQL Server 2008, 20 rows meant 20 INSERT INTO statements. Row Constructors let you insert them all in one statement. A simple example to try.

Read More
SQL Server result window.

SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – Finding un-matching Records – Day 5 of 35

August 5, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts

How to find un-matching records, like products that never sold, first with a basic subquery and then with an unmatched records query. A Joes 2 Pros tip.

Read More
SELECT FROM LOCATION ERROR.

SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – Efficient Query Writing Strategy – Day 4 of 35

August 4, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts

An efficient query writing strategy from Joes 2 Pros: get the easy parts of a complex query working first, so you write it faster with fewer errors.

Read More
Previous 1 … 392 393 394 395 396 397 398 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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