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
Loose tiles are combined into a finished tiled surface

How to Find Definition of Computed Column in SQL Server using T-SQL? – Interview Question of the Week #233

July 14, 2019
Pinal Dave
SQL Interview Questions and Answers
Computed Column, SQL Function, SQL Server, SQL System Table

Question: How to Find Definition of Computed Column in SQL Server using T-SQL?
Answer: A very fair question, I received the other day.

Read More
A drinks tray with a red bowl of ready-cut lemon wedges beside an uncut lemon and knife.

Indexed Computed Columns: Speeding Up Code You Cannot Change

April 3, 2019
Pinal Dave
SQL Performance
Computed Column, SQL Index, SQL Performance, SQL Server

Use indexed computed columns to help fixed vendor queries on UPPER or CAST, while checking determinism and required SET options.

Read More
A turf edger changing one grass border while the rest of the patch remains intact

JSON_MODIFY: Changing One Property Inside a JSON Column

July 25, 2018
Pinal Dave
SQL Tips and Tricks
Computed Column, JSON, SQL Column

Edit one value inside a JSON document without string surgery. A hands-on tour of the quirks with types, NULL, missing paths and retries.

Read More
Opaque cord sleeves with matching and different crimped profiles beside crimping pliers

Blind Index: Searching an Encrypted Column Without Decrypting

July 11, 2018
Pinal Dave
SQL Performance
ColumnStore Index, Computed Column, SQL Column, SQL Index

Encrypted emails cannot be searched, so store a keyed digest beside them. A hands-on demo of how it works, what it leaks and how rotation hurts.

Read More
Shaped bottle brushes matching the necks and bodies of two glass bottles

Documenting Computed Columns: Definitions, Persistence and Determinism

July 15, 2017
Pinal Dave
SQL Tips and Tricks
Computed Column, SPARSE Columns, SQL Server

A column that says decimal(21,2) hides how it gets its value. Pull the formula, persistence, precision and index use from the catalog, and script it so it can be rebuilt.

Read More
SQL SERVER - Columnstore Index Cannot be Created When Computed Columns Exist

SQL SERVER – Columnstore Index Cannot be Created When Computed Columns Exist

September 13, 2016
Pinal Dave
SQL Performance
ColumnStore Index, Computed Column, SQL Error Messages, SQL Scripts, SQL Server

A developer found a columnstore index cannot be created on a large history table in SQL Server 2014. The surprise cause: computed columns in the table.

Read More
SQL SERVER - Computed Column and Conditions with Case Statement

SQL SERVER – Computed Column and Conditions with Case Statement

April 27, 2016
Pinal Dave
SQL Tips and Tricks
Computed Column, SQL Scripts, SQL Server

How to write conditions with CASE statement in a computed column, using a simple AdventureWorks script you can adapt for any complicated logic.

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

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