Apr 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
column exists

SQL SERVER – Checking If a Column Exists in a Table

August 24, 2023
Pinal Dave
SQL Tips and Tricks
Information Schema, SQL Column, SQL Table Operation, System Object

Let us see a script that will help check if a Column Exists in a Table. One of the common tasks that developers deal with when working on database-related projects

Read More
Column ID

SQL SERVER – MAX Column ID Used in Table

July 29, 2021
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Server, SQL Table Operation

Well, we discussed this during SQL YouTube Live – Performance Troubles – Execution Plans. Let us see MAX Column ID Used in Table.

Read More
CASE Expression

SQL SERVER – Using CASE Expression in Default Value

July 21, 2021
Pinal Dave
SQL Tips and Tricks
SQL CASE, SQL Scripts, SQL Server, SQL Table Operation

It is not possible to use CASE Expression in Default Values when you add a new column. I hope this answers the question. However, there is a workaround.

Read More
OBJECTPROPERTY

SQL SERVER – Table or View – OBJECTPROPERTY

March 24, 2021
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Table Operation, System Object

Let us learn how I use a quick trick to know the object property with the keyword OBJECTPROPERTY. Let us learn how we can figure it out.

Read More
Scan Table

Do MAX(col) Scan Table? – SQL in Sixty Seconds #106

August 21, 2020
Pinal Dave
SQL Video
Execution Plan, SQL in Sixty Seconds, SQL Operator, SQL Performance, SQL Scripts, SQL Server, SQL Table Operation

While working on working on a Comprehensive Database Performance Health Check my client asked me – Do MAX(col) Scan Table? Let us learn about that today.

Read More
get rowcount

How to Get Rowcount of Every Table in SSMS? – Interview Question of the Week #288

August 9, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL Server, SQL Server Management Studio, SQL Table Operation, SSMS

Question: How to Get Rowcount of Every Table in SSMS?

Answer: After watching my earlier video on the fastest way to get the rowcount for the table,

Read More
SELECT INTO a Table Variable

SQL SERVER – SELECT INTO a Table Variable in T-SQL

March 2, 2020
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Table Operation, Temp Table

Recently one of my oldest clients asked me a very interesting question about a table variable and SELECT INTO. Let us learn about it.

Read More
1 2 3 4 Next
  • SQL Interview Q & A
  • Testimonials
  • Search
  • Privacy Policy

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

Go to mobile version