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 thicker ledger card has moved to a second shelf, with a forwarding string left at its original slot

What are Forwarded Records in SQL Server? – Interview Question of the Week #145

October 22, 2017
Pinal Dave
SQL Interview Questions and Answers
Clustered Index, SQL DMV, SQL Index, SQL Scripts, SQL Server

What are forwarded records in SQL Server? It is an old concept, yet few new DBAs know it. Here is a short answer about heap rows that moved to a new page.

Read More
A closed workshop cabinet sits beside a loose hinge pin and wooden mallet

Can You DROP Offline Database? – Interview Question of the Week #144

October 15, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server

Can you drop offline database in SQL Server? Yes, you can. Many DBAs I interviewed thought otherwise, so here is the full answer.

Read More
Two primary keys are each attached to a different physical index structure

How to Create Primary Key Without ANY Index? – Interview Question of the Week #143

October 8, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Constraint and Keys, SQL Scripts, SQL Server

Question: How to create primary key without ANY index? SQL Server builds a clustered or nonclustered index for every primary key, so here is the answer.

Read More
A strong rope holds its weight while a weak rope has broken under the same test

How to Enforce Password Policy of Windows to SQL Server? – Interview Question of the Week #142

October 1, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Login, SQL Scripts, SQL Server, SQL Server Security

SQL Server logins follow Windows password rules by default. If a login has it turned off, here is a simple script to Enforce Password Policy again.

Read More
One smoking lantern is separated while the other session lanterns stay lit

How to Kill User Sessions (SPID) in SQL Server? – Interview Question of the Week #141

September 24, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server

How do you Kill User Sessions (SPID) in SQL Server? First ask why you want to, since killing busy sessions rarely helps. Then here is the script.

Read More
Unknown shapes emerge from a chute and are placed into an adjustable sorting frame

How to Create Temp Table From Stored Procedure? – Interview Question of the Week #140

September 17, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL Stored Procedure, Temp Table

How do you create a Temp Table from a stored procedure when you do not know its result set? Here is the OPENROWSET approach I use, and its drawbacks.

Read More
A slate blue fabric ribbon makes a physical fold onto a lower line

How to Insert Line Break in SQL Server String? – Interview Question of the Week #139

September 10, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Scripts, SQL Server, SQL String

How do you insert a Line Break in a SQL Server string? Just press Enter inside the string, and switch SSMS results to text to see it. Here is how it works.

Read More
Previous 1 … 21 22 23 24 25 26 27 … 58 Next
  • Books
  • Testimonials
  • Privacy Policy

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