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 brass key rests in a new tray beside an unchanged wooden archive cabinet

How to Change Owner of Database in SQL SERVER? – Interview Question of the Week #117

April 9, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Login, SQL Scripts, SQL Server, SQL Server Security

How do you change owner of a database in SQL Server? Three ways, including ALTER AUTHORIZATION, which I prefer, and the deprecated sp_changedbowner.

Read More
Seven wooden measuring spoons arranged by size with the middle spoon highlighted

How to Find Median in SQL Server? – Interview Question of the Week #116

April 2, 2017
Pinal Dave
SQL Interview Questions and Answers
Ranking Functions, SQL Scripts, SQL Server

There is no MEDIAN function in T-SQL. Here is an easy way to find median values in SQL Server 2012 and later, plus what median really means.

Read More
One mill cannot start because its inlet is blocked; another stopped after its inner gear broke

What is the Difference between SUSPECT and RECOVERY PENDING? – Interview Question of the Week #114

March 26, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Server, Starting SQL

What is the difference between SUSPECT and RECOVERY PENDING? A reader moved databases to a new drive and they went into recovery pending. Here is why.

Read More
An open-sided sorting machine shows both its inner mechanism and the tokens it returns

How to Find How Many Rows Each Query Returned Along with Execution Plan? – Interview Question of the Week #115

March 19, 2017
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL DMV, SQL Scripts, SQL Server

Want to see How Many Rows Each Query Returned along with its execution plan? Here is a query for it, and why reads and worker time matter more.

Read More
Thread moves from one spool to another, with the receiving spool partly filled

How to Get Status of Running Backup and Restore in SQL Server? – Interview Question of the Week #113

March 12, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Backup and Restore, SQL Scripts, SQL Server

How do you check the status of running backup and restore operations? Here is the script I built to see every backup and restore running on the server.

Read More
A fitted maintenance cradle supports a mechanism and its lock while a generic spanner rests nearby

Why to Use SQL Server Configuration Manager Over Services applet (services.msc)? – Interview Question of the Week #112

March 5, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Server, SQL Server Configuration, SQL Server Services

Why use SQL Server Configuration Manager Over Services applet (services.msc) to change a service account? The reasons, from permissions to passwords.

Read More
One group of cards is raised from the middle of an ordered index-card tray

How to do Pagination in SQL Server? – Interview Question of the Week #111

February 26, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Paging, SQL Scripts, SQL Server

How do you do pagination in SQL Server? A popular interview question. Instead of pulling every row into the app, here is a method that returns just one page.

Read More
Previous 1 … 25 26 27 28 29 30 31 … 58 Next
  • Books
  • Testimonials
  • Privacy Policy

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