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

SQL SERVER – Checking If a Column Exists in a Table

August 24, 2023
Pinal Dave
SQL Tips and Tricks
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
retrieve column names

SQL SERVER – Scripts to Retrieve Column Names

August 22, 2023
Pinal Dave
SQL Tips and Tricks
Computed Column, SQL Column, SQL DMV

Understanding how to retrieve column names from a table is one of the fundamental operations you should be familiar with.

Read More
A kitchen dresser with plates and cups on open shelves, one shelf hidden behind a small drawn curtain.

Column-Level Permissions: Hiding One Column From Some Users

April 26, 2023
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Server, SQL Server Security, SQL View

Apply SQL Server column-level permissions, test DENY and SELECT behavior, inspect explicit grants, and compare views with data masking.

Read More
swap columns

Swap Columns – SQL in Sixty Seconds #199

August 2, 2022
Pinal Dave
SQL Video
SQL Column, SQL in Sixty Seconds

Today we will see a quick video on how to swap columns in SQL Server. It is a widespread request. We will learn that in this video.

Read More
An inspection lens examines an optional insert while a removal tool remains separate.

SQL SERVER – Checking Column Existence Is Different from DROP IF EXISTS

September 3, 2021
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Scripts, SQL Server

I use COL_LENGTH to Check If a Column Exists in visible metadata. Conditional DROP instead performs a deletion.

Read More
An empty tile slot awaits an approved match from separately inspected replacement samples.

SQL SERVER – Altering Column – From NULL to NOT NULL

July 13, 2021
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Scripts, SQL Server

Altering Column nullability to NOT NULL requires resolving existing NULLs under an approved data rule. A customer used empty strings.

Read More
Replace Rowstore

SQL SERVER – Replace Rowstore Clustered Index with Columnstore Clustered Index

May 28, 2021
Pinal Dave
SQL Performance
ColumnStore Index, SQL Column, SQL Scripts, SQL Server

Let us learn in this blog post how to Replace Rowstore Clustered Index with Columnstore Clustered Index. Comprehensive Database Performance Health Check

Read More
1 2 3 4 5 Next
  • Books
  • Testimonials
  • Privacy Policy

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