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
Tiny earrings fit a small travel pouch while a bulky necklace rests in a larger case.

Storing Images in SQL Server: varbinary(max) or FILESTREAM

March 6, 2009
Pinal Dave
SQL Tips and Tricks
Filestream, SQL Data Storage, SQL Datatype, SQL Performance

Pictures in a database are easy to insert and easy to regret. Here is where the bytes go and how to choose a storage method.

Read More
SQL SERVER - 2008 - Find Relationship of Foreign Key and Primary Key using T-SQL - Find Tables With Foreign Key Constraint in Database

SQL SERVER – 2008 – Find Relationship of Foreign Key and Primary Key using T-SQL – Find Tables With Foreign Key Constraint in Database

February 26, 2009
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts

A T-SQL script that finds every table with a foreign key constraint and shows how each foreign key relates to its primary key, now with schema names.

Read More
Gouache painting: three long raised garden rows run away from the viewer, two planted with round cabbages and the third bare soil

XPath First Items: Parentheses Change the Selected Nodes

February 25, 2009
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts

XPath first items can mean one per parent or one overall. Compare step-local [1] with a parenthesized path, including full XML and empty selections.

Read More
SQL SERVER - Disable Windows Authentication - Remove Windows Authentication Login Account

SQL SERVER – Disable Windows Authentication – Remove Windows Authentication Login Account

February 24, 2009
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Server Security

A reader asked how to disable Windows Authentication in SQL Server. The short answer: it can not be disabled, and it is the most secure way to log in.

Read More
Two matching glass pitchers contain water at different levels on a quiet kitchen counter.

When SSMS and Your Application Return Different Results

February 22, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Investigate SSMS different results by comparing connections, parameters, session options, transactions, and plans against the application.

Read More
Pistachios fill six cavities of a wooden mold while two middle cavities remain empty.

Value Histograms: Counting Rows per Range Bucket in T-SQL

February 21, 2009
Pinal Dave
SQL Tips and Tricks
SQL Group By, SQL Scripts, Temp Table

Turn a column of amounts into a clear shape. Three small traps decide whether your bucket counts are true: empty buckets, uneven ranges and BETWEEN.

Read More
An overfull piggy bank with coins stuck in its slot, a larger empty red one beside it

Checking IDENTITY Columns Before They Run Out of Numbers

February 20, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Datatype, SQL Identity, SQL Scripts

Check IDENTITY columns for their current value, type limit and remaining range, including descending increments, before inserts fail.

Read More
Previous 1 … 477 478 479 480 481 482 483 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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