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 - What is Semantics Model - A Simple Explanation

SQL SERVER – What is Semantics Model – A Simple Explanation

February 11, 2013
Pinal Dave
SQL Tips and Tricks

What is a semantics model? In simple words, it is how data is organized in a database so that it makes sense to the users, not only to programmers.

Read More
TestTable clustered index.

SQL SERVER – Primary Key and NonClustered Index in Simple Words

February 10, 2013
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts

In 2006 I wrote how Primary Key and Unique Key differ. Now I fill the gap and explain primary key and nonclustered index in simple words.

Read More
Two glued boards held in red clamps on a workbench while the next board waits.

Waiting for an Agent Job to Finish Before the Next Step Runs

February 9, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Scripts, SQL Server, SQL Server Agent

Wait for an Agent job to finish by polling its current sysjobactivity row, enforcing a timeout, and checking sysjobhistory outcome.

Read More
SQL SERVER - Fix: Error: 1505 The CREATE UNIQUE INDEX statement terminated because a duplicate key was found for the object name and the index name

SQL SERVER – Fix: Error: 1505 The CREATE UNIQUE INDEX statement terminated because a duplicate key was found for the object name and the index name

February 5, 2013
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Error Messages

Error 1505 says the CREATE UNIQUE INDEX statement terminated because a duplicate key was found. The word key confuses many developers, so I explain it simply.

Read More
SQL SERVER - Fix Error: 8111 - Cannot define PRIMARY KEY constraint on nullable column in table - Error: 1750 - Could not create constraint. See previous errors

SQL SERVER – Fix Error: 8111 – Cannot define PRIMARY KEY constraint on nullable column in table – Error: 1750 – Could not create constraint. See previous errors

February 4, 2013
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

New developers often hit Error 8111 when they try a PRIMARY KEY constraint on nullable column, followed by Error 1750. Here is why it happens and how to fix it.

Read More
An egg poised on a small piercer before cooking

Warning Before SQL Login Passwords Expire With DaysUntilExpiration

February 3, 2013
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Security

A Friday-night login failure is avoidable. One small query warns you weeks ahead, if somebody owns the warning.

Read More
Two rows of tulips, one all red and one in randomly mixed colors.

Generating Random Numbers Per Row: RAND, NEWID and CRYPT_GEN_RANDOM

February 2, 2013
Pinal Dave
SQL Tips and Tricks
Mathematical Function, SQL Function, SQL Random, SQL Server

Generate random numbers per row with NEWID or CRYPT_GEN_RANDOM, compare seeded RAND, inspect bucket spread, and pick a row without a sort.

Read More
Previous 1 … 335 336 337 338 339 340 341 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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