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
Gouache painting: along a long bakery bench stands a row of six pie tins, some holding baked pies and some empty

LAG IGNORE NULLS: Read the Previous Available Value

April 24, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL NULL, SQL Order By, SQL Server

LAG IGNORE NULLS reads the previous non-NULL value within an ordered partition. These examples distinguish skipped rows, missing previous values and the supplied default.

Read More
Coarse brass rods and fine needles stored in separate leather tool rolls.

Decimal Division: Inspect Precision Before the Final Cast

April 23, 2009
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL NULL

Decimal division derives its own precision and scale before your final cast. Compare wide and bounded inputs, then test rounding and valid numeric ranges.

Read More
SQL SERVER - FIX : Error: 18486 Login failed for user 'sa' because the account is currently locked out. The system administrator can unlock it. - Unlock SA Login

SQL SERVER – FIX : Error: 18486 Login failed for user ‘sa’ because the account is currently locked out. The system administrator can unlock it. – Unlock SA Login

April 23, 2009
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server Security

Error 18486 means the sa account is locked out, often after brute force attempts by hackers. Here is why it happens and how to unlock SA login.

Read More
Gouache painting: three stations on a workshop wall and bench

SPACE: Keep Blank Text, Empty Text and NULL Distinct

April 22, 2009
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Server

SPACE builds a present blank string from a count. Keep empty text and NULL separate, and choose a measurement that retains supplied spaces.

Read More
SQL SERVER - What is Cloud Computing - Introduction to Cloud Computing

SQL SERVER – What is Cloud Computing – Introduction to Cloud Computing

April 21, 2009
Pinal Dave
SQL Tips and Tricks
Cloud Computing

What is cloud computing? A plain answer for SQL Server people, the three service models, and what to check before you move a database there.

Read More
A single plain brass key beside one small closed wooden drawer on a softly lit table.

Giving an Application Account Only What It Needs

April 20, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Server, SQL Server Security

Apply least privilege SQL Server access with separate runtime and deployment roles, narrow permissions, and tests of allowed and denied actions.

Read More
A flat-pack assembly laid out on a wooden floor in a neat row, with one bracket missing from the line and an empty outline where it should be.

SQL SERVER – Fix : SQL Server 2008 Developer Edition Install fail due to .NET Framework 3.5 missing

April 19, 2009
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server

SQL Server 2008 Developer Edition setup failed with .NET Framework 3.5 missing, even though Visual Studio 2008 ran fine. Here is the link that explained why.

Read More
Previous 1 … 712 713 714 715 716 717 718 … 849 Next
  • Books
  • Testimonials
  • Privacy Policy

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