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
Candidate Key Query.

SQL SERVER – Difference Between Candidate Keys and Primary Key In Simple Words

October 22, 2009
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts

The difference between candidate keys and primary key in simple words: any unique column can be a candidate key, but only one becomes the primary key.

Read More
A drafting table with hand-drawn paper charts, a ruler and a cup of coffee, the charts too small to read.

SQL SERVER – Introduction to Business Intelligence – Important Terms & Definitions

October 21, 2009
Pinal Dave
SQL Tips and Tricks
Business Intelligence, Data Warehousing, SQL Server

What is Business Intelligence? A plain introduction to BI and the key terms that go with it, like decision support, data mining, OLAP, reporting and forecasting.

Read More
A line of hands passing buckets, one hand holding a red bucket far too long

Finding the Slowest Statement Inside a Stored Procedure

October 20, 2009
Pinal Dave
SQL Performance
Execution Plan, Query Store, SQL Performance, SQL Stored Procedure

Find the slowest statement inside a stored procedure using query stats offsets, CPU and read totals, then confirm with Query Store.

Read More
SQL SERVER - Change Collation of Database Column - T-SQL Script - Consolidating Collations - Extention Script

SQL SERVER – Change Collation of Database Column – T-SQL Script – Consolidating Collations – Extention Script

October 19, 2009
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Scripts, SQL Utility

Brian Cidern’s extension script for consolidating collations across a database, a big help when you face the annoying cannot resolve collation error.

Read More
A museum display case with an untouched porcelain teacup inside and a clear set of fingerprints on the glass.

Auditing SELECT Statements on Sensitive Tables

October 18, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Audit, SQL Compliance, SQL Server Security

Auditing SELECT statements on sensitive tables needs a narrow database audit, protected files, volume checks, and active review.

Read More
A shop door at dusk with the shutter half down and a blank red board hanging beside it

Adding Business Hours to a Timestamp in T-SQL

October 17, 2009
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server

Add business hours through a stored work calendar, skip closed dates and nights, and calculate ticket deadlines without a minute loop.

Read More
SQL SERVER - Recently Executed T-SQL Query

SQL SERVER – Recently Executed T-SQL Query

October 16, 2009
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Function, SQL Scripts, SQL System Table

fn_get_sql() and DBCC INPUTBUFFER will be deprecated. Use sys.dm_exec_query_stats and sys.dm_exec_sql_text to see each recently executed T-SQL query.

Read More
Previous 1 … 8 9 10 11 12 13 14 … 55 Next
  • Books
  • Testimonials
  • Privacy Policy

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