July 2025 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

How to Build Three Part Name from Object_ID? – Interview Question of the Week #134

August 6, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Scripts, SQL Server, System Object

Question: How to Build Three Part Name from Object_ID?

Read More

SQL SERVER – Find Out Column Name Using COL_NAME() Function

July 31, 2017
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Function, SQL Scripts, SQL Server

In SQL Server, there are many methods to find out the column names in a table. If you want to find out the column names based on the ordinal position you can do it querying system view size. Columns. Do you know that you can also do this by using COL_NAME() system function?

Read More

SQL SERVER – Puzzle – Incorrect Results with Decimal

June 28, 2017
Pinal Dave
SQL Puzzle
SQL Datatype, SQL Function, SQL Scripts, SQL Server

It has been a while we have seen a puzzle on this blog and I keep on receiving emails and comments that you all would love to see one more puzzle. Let us see a new puzzle “Incorrect Results with Decimal”.

Read More

What is Copy Only Backup in SQL Server? – Interview Question of the Week #128

June 25, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Backup, SQL Function, SQL Scripts, SQL Server

Question: What is Copy Only Backup in SQL Server?

Answer: This is another interesting question I received the other day. The question was in the image form and I am re-producing the image again here.

Read More

How to Write Case Statement in WHERE Clause? – Interview Question of the Week #127

June 18, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Scripts, SQL Server

Question: How to Write Case Statement in WHERE Clause?

Read More

SQL SERVER – Learning New Multipurpose FORMAT Function

June 12, 2017
Pinal Dave
SQL Tips and Tricks
File format, SQL DateTime, SQL Function, SQL Scripts, SQL Server

In versions prior to 2012, you need to use the CONVERT function with different styles to convert the date values into a different format. Let us learn about the FORMAT function in this blog post. 

Read More

SQL SERVER – Not Able to Kill SPID with KILL WITH STATUSONLY

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

Question: Why I am not able to KILL a SPID with command KILL (spid) WITH STATUSONLY?

Read More
Previous 1 … 12 13 14 15 16 17 18 … 52 Next
  • SQL Interview Q & A
  • Testimonials
  • Search
  • Privacy Policy

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

Go to mobile version