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
A soil sieve over a wheelbarrow, fine soil fallen through while stones and roots stay caught on the mesh.

Check Constraints That Enforce Business Rules

December 24, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Constraint and Keys, SQL NULL, SQL Server

Check constraints keep row rules inside SQL Server, but NULL behavior and trusted status determine how much protection they provide.

Read More
Gouache painting: at a harbor quay, stone steps run down into calm water, with the waterline as zero

CEILING and FLOOR: Negative Values Change the Direction

December 19, 2007
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

CEILING and FLOOR follow numeric order even below zero. This example compares both boundaries with truncation and explicitly defines its displayed decimal types.

Read More
A rope swing on an oak branch holding a heavy sack of sand, the rope taut, tested before anyone rides it.

Stress Testing a Query Before Release

December 19, 2007
Pinal Dave
SQL Performance
Parameter Sniffing, SQL Performance, SQL Server, SQL Wait Stats, Testing

Stress testing a query before release reveals concurrency and parameter risks; learn to design realistic SQL Server tests and compare useful metrics.

Read More
A gouache inspection shed displays differently shaped vessels and their current fill levels beside a small lens.

SQL SERVER – T-SQL Script to Find Details About TempDB Information

December 17, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL TempDB

TempDB Information starts with the files and their actual locations. I inspect every data and log file before proposing changes.

Read More
A gouache greenhouse station combines removable seed trays with a fixed supporting frame and a red retaining latch.

SQL SERVER – TempDB Restrictions – Temp Database Restrictions

December 15, 2007
Pinal Dave
SQL Interview Questions and Answers
SQL Constraint and Keys, SQL Server, SQL TempDB

TempDB Restrictions follow from how SQL Server recreates and uses this system database. I check them before applying user-database maintenance habits.

Read More
A child's bicycle beside a full-size one, a hand moving a red bell that does not quite fit the bigger handlebar

Migrating From Access to SQL Server: Data Types and Gotchas

December 12, 2007
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Identity, SQL Migration, SQL Server

Plan migrating from Access with explicit type mappings, boolean and date checks, query rewrites, and a primary key inventory.

Read More
Gouache painting: two small wooden pottery stamps with differently carved round ends rest on a potter's bench, each beside a strip of soft clay pressed with its own small leaf-shaped impression; one stamp has a vermilion handle

NCHAR: Build Unicode Characters From Integer Codes

December 11, 2007
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Server

NCHAR builds a character rather than formatting a number. Preserve source codes and distinguish unsupported values from missing input.

Read More
Previous 1 … 394 395 396 397 398 399 400 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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