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
A hermit crab beside a larger empty shell on sand

Moving TempDB to New Drive – Interview Question of the Week #077

June 26, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL TempDB

A 1 AM call: TempDB was full on the C drive. Here is the popular interview question on moving TempDB to new drive, with the steps I use.

Read More
A central architectural layout guides a wooden building model on a workbench

What is a Master Database in SQL Server? – Interview Question of the Week #076

June 19, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Backup and Restore, SQL Server, System Object

A reader told me he had dropped his master database. So here is the basic question: what is a master database in SQL Server, and why does it matter?

Read More
Distinct brass keys each occupy their required place in a wooden organizer

Can We Have NULL Value in Primary Key? – Interview Question of the Week #075

June 12, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Constraint and Keys, SQL NULL, SQL Scripts, SQL Server

Can we have a NULL value in primary key columns? No. The primary key has to uniquely identify each row, and NULL cannot do that. Here is why.

Read More
An open storage chest has empty internal compartments within a separate surrounding storeroom.

SQL SERVER – How Much Free Space I Have in My Database?

June 7, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server

Free Space inside data files differs from unused space on the Windows volume. I check both when planning growth.

Read More
The same ceramic buttons are arranged by color in one tray and by size in another

Sort Query Using Dynamic Variables Without EXEC – Interview Question of the Week #074

June 5, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Order By, SQL Scripts, SQL Server

How do you sort query results by a column passed in a variable? Here is how to sort query output dynamically without EXEC or sp_executesql.

Read More
Every place in an egg carton contains an egg

What is NOT NULL Constraint? – Interview Question of the Week #073

May 29, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Constraint and Keys, SQL NULL, SQL Scripts, SQL Server

A client table full of NULL values was hurting query plans. Here is what a NOT NULL constraint is, how to add one and why it helped performance.

Read More
Separate locked stone buildings hold tools and keys on opposite sides of a small courtyard

SQL Domain Controller – Interview Question of the Week #072

May 22, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Domain Controller, SQL Server

SQL domain controller questions: can SQL Server run on one? Five interview answers, checked against Microsoft’s current guidance, one corrected.

Read More
Previous 1 … 31 32 33 34 35 36 37 … 58 Next
  • Books
  • Testimonials
  • Privacy Policy

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