Feb 2026 Discount: Comprehensive Database Performance Health Check | Testimonials

Home
  • Consulting
  • Training
  • Free Videos
  • All Articles
    • Interview Questions and Answers
    • SQL Tips and Tricks
    • SQL Performance
    • SQL Puzzle
    • Big Data
    • Blog Stats
    • SQL Books
    • Search SQLAuthority
  • Downloads
  • Hire Me
  • Health Check

SQL SERVER – Alternate to AGENT_DATETIME Function

June 2, 2017
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server

Sometimes back I posted about interesting function AGENT_DATETIME functions which will convert integers into datetime values. Someone commented that there might be some permission issues using this function which is only available in msdb database. So I write this post to give you alternate method without using any such functions.

Read More

SQL SERVER – Master Database in Single User Mode – A Serious Issue

June 1, 2017
Pinal Dave
SQL
SQL Error Messages, SQL Scripts, SQL Server, System Database

There are some weird situations which I see in SQL Server. This is also a one of the surprising situation. One of my client reported via below screen shot. Let us see the issue of Master Database in Single User Mode.

Read More

How to Insert Results of Stored Procedure into a Temporary Table? – Interview Question of the Week #124

May 28, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL Stored Procedure, Temp Table

Question: How to Insert Results of Stored Procedure into a Temporary Table?

Read More

SQL SERVER – Observation – Adding a NULL Column and Table Space

May 26, 2017
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL DMV, SQL Scripts, SQL Server

It is always fun to receive a follow up comments when I write a blog post. Yesterday I wrote about SQL SERVER – Simple Query to List Size of the Table with Row Counts and here is the follow up question which I received about adding a NULL column.

Read More

SQL SERVER – Simple Query to List Size of the Table with Row Counts

May 25, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL System Table

Sometimes we need simple query which can do the task, then complicated solution. Here is a simple query which list size of the table in MB with Row Counts. I often run at my customer understand how many different tables they have and what is the row counts as well as the size of the each table.

Read More

SQL SERVER – How to Find Row Count of Every Table in Database Efficiently?

May 24, 2017
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, SQL System Table

Question: How to Find Row Count of Every Table in Database Efficiently?

Read More

SQL SERVER – How to Change Database Compatibility Level?

May 22, 2017
Pinal Dave
SQL Tips and Tricks
SQL Performance, SQL Scripts, SQL Server, SQL Server Configuration, SQL Upgrade

After watching my free webinar the most popular question, which I receive is about Database Compatibility Level.

Read More
Previous 1 … 119 120 121 122 123 124 125 … 318 Next
  • SQL Interview Q & A
  • Testimonials
  • Search
  • Privacy Policy

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

Go to mobile version