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 - How to Find Out When Your SQL Login Will Expire?

SQL SERVER – How to Find Out When Your SQL Login Will Expire?

September 27, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Login, SQL Scripts, SQL Server, SQL Server Security

A client wanted a script to show when each SQL login will expire. LOGINPROPERTY makes it easy on SQL 2008 onwards. Here is the query I used.

Read More
A grain bin has a small occupied layer and much more available capacity above it

Identify Used Space in Log File- Interview Question of the Week #090

September 25, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL Server DBCC, Transaction Log

Question: How to identify Used Space in Log File?

Answer: Use following command to display used log file size and total used space in the log file.

Read More
A utility hatch opened to reveal maintenance tools in a wall

How to Find Missing SQL Server Configuration Manager? – Interview Question of the Week #089

September 18, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Server, SQL Server Management Studio, Starting SQL

Question: I just installed the latest version of SQL Server and now I am not able to find SQL Server Configuration Manager. What should I do?

Read More
A music box can be wound while its working cylinder remains obscured behind frosted glass

How to Hide Stored Procedure’s Code? – WITH ENCRYPTION – Interview Question of the Week #088

September 11, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Server, SQL Server Encryption, SQL Stored Procedure

Question: How to Hide Stored Procedure’s Code so anyone with access to stored procedure cannot see it?

Read More
Recent impressions remain in wet clay while older marks have been smoothed away

How to Find Recent Executed Queries in SQL Server? – Interview Question of the Week #087

September 4, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Cache, SQL DMV, SQL Scripts, SQL Server

An interview question that stumped candidates: how do you find recent executed queries in SQL Server? A DMV script using sys.dm_exec_query_stats answers it.

Read More
An opened four-part workshop kit ready for a hands-on setup

How to Get Started with SQL Server 2016? – Interview Question of the Week #086

August 28, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Documentation, SQL in Sixty Seconds, SQL Server 2016, Starting SQL

A candidate asked me in an interview: how do I get started with SQL Server 2016? Here is my answer for anyone who has not tried it yet.

Read More
A brass latch and its mounting plate removed while an independent steel rail stays on the cabinet

Does Dropping Primary Key Drop Non-Clustered Index on the Column? – Interview Question of the Week #085

August 21, 2016
Pinal Dave
SQL Interview Questions and Answers
Clustered Index, SQL Constraint and Keys, SQL Index, SQL Server

Does dropping a primary key also drop the Non-Clustered Index on that column? An interview question with a small repro script to see the answer.

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

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