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
SQL SERVER - Column Alias and Usage in Where Clause

SQL SERVER – Column Alias and Usage in Where Clause

September 8, 2015
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server

You can ORDER BY a column alias, so why not use it in WHERE? A simple example that shows how SQL Server assigns a Column Alias and where it is in scope.

Read More
Gouache painting of a small green sprout in a clay pot on a sunny windowsill, with a vermilion watering can and a few blank seed packets beside it.

Interview Question of the Week #022: How to Get Started with Big Data?

May 31, 2015
Pinal Dave
SQL Interview Questions and Answers
Career Advice, Data Warehousing, Database

When an interviewer asks how you would get started with big data, a list of tools is the weakest answer. This post gives a short model answer: start from SQL, learn the core ideas, run one engine on a laptop and build one small project end to end.

Read More
Identical hockey pucks sit in open sleeves of three different colors.

Primary Data File Extensions: Does the .mdf Name Matter?

December 14, 2014
Pinal Dave
SQL Tips and Tricks
Database, SQL Data Storage, SQL Scripts, SQL Server Architecture

Can a primary data file end in something other than .mdf? I built a demo database with odd names, checked each file, then detached and attached it.

Read More
One large stone and a pile of small pebbles rest in separate shallow wooden trays.

Reading a Workload Capture Without a Tool

December 13, 2014
Pinal Dave
SQL Performance
Best Practices, Database, SQL Scripts, SQL Server

Read a workload capture by grouping related queries, comparing total resource use, and separating one slow execution from repeated work.

Read More
Roof diverter sending new rain to an empty vessel beside an older filled vessel

Default Filegroup: Sending New Tables Away From PRIMARY

October 6, 2014
Pinal Dave
SQL Tips and Tricks
Database, SQL Data Storage, SQL Server Configuration

Changing the default filegroup only affects tables you create later. Here is what moves, what does not, and how a script can quietly ignore the rule.

Read More
A nested set of wooden measuring scoops in graded sizes on a kitchen counter, the smallest holding a single pinch of spice.

What Is a Data Type, and Why the Wrong One Costs You

September 28, 2014
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Performance, SQL Server

A data type decides what a column holds, what it costs in bytes, and how SQL Server compares it. Why NVARCHAR doubles your storage, why float will not compare cleanly, and the conversion that quietly kills an index.

Read More
Smooth wooden balls resting in separate shallow channels beside a crowded wooden bowl on a table.

When In-Memory OLTP Helps and When It Does Not

April 27, 2014
Pinal Dave
SQL Performance
Best Practices, Database, SQL Scripts, SQL Server

Learn when In-Memory OLTP can reduce transaction contention, which limitations still matter, and what to measure before changing tables.

Read More
Previous 1 2 3 4 5 6 7 8 … 52 Next
  • Books
  • Testimonials
  • Privacy Policy

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