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
Different materials sorted into clear jars

Interview Question of the Week #004 – List All Columns and Their Data Type for a View

January 25, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts

Inspect a view’s columns and their data type with SQL Server catalogs, result-set metadata, and checks for stale view definitions.

Read More
One wagon follows a circular track with a switch, illustrating row-by-row work

Interview Question of the Week #003 – How to Write Script for Database Cursor?

January 18, 2015
Pinal Dave
SQL Interview Questions and Answers

Write a database cursor with LOCAL FAST_FORWARD, understand cleanup and fetch status, and compare the loop with a set-based update.

Read More
Wooden drawers hold bundles of different sizes, illustrating variable row sizes

Interview Question of the Week #002 – Script to Find Byte Size of a Row for All the Tables in Database

January 11, 2015
Pinal Dave
SQL Interview Questions and Answers

Calculate the byte size of a row carefully, separating declared column limits, actual values, row overhead, and off-row storage.

Read More
Two brass pegs align with two matching sockets in one joint

Interview Question of the Week #001 – Script to List Foreign Key Relationships and Constraint Name

January 4, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL Constraint and Keys

List foreign key relationships with schema names, matched columns, referential actions, and trust flags using SQL Server catalogs.

Read More
8152 error message.

SQL SERVER – How to Catch Errors While Inserting Values in Table

October 5, 2014
Pinal Dave
SQL Interview Questions and Answers
SQL Error Messages

Want to catch errors while inserting values into a table? Use TRY…CATCH. This simple example captures the error number and message.

Read More
SQL SERVER - Basics of Delayed Durability in SQL Server 2014

SQL SERVER – Basics of Delayed Durability in SQL Server 2014

September 6, 2014
Pinal Dave
SQL Interview Questions and Answers

SQL Server 2014 adds Delayed Durability, which puts performance ahead of durability. I explain it in simple questions and answers, starting with full durability.

Read More
SQL SERVER - What is the Difference Between Latches and Locks

SQL SERVER – What is the Difference Between Latches and Locks

March 16, 2014
Pinal Dave
SQL Interview Questions and Answers

What is the difference between latches and locks? Latches guard a page only during the physical operation, while locks last for the whole transaction.

Read More
Previous 1 … 42 43 44 45 46 47 48 … 58 Next
  • Books
  • Testimonials
  • Privacy Policy

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