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: two river sluice gates stand side by side

DEGREES: Preserve Fractions When Converting Angles

November 20, 2007
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

DEGREES converts radians into degrees. An integer radian argument can narrow the output, while a float argument retains an approximate fractional degree value.

Read More
A gouache packing workshop pairs an open fitted framework with the matching solid pieces needed to fill it.

SQL SERVER – Generate Script with Data from Database – Database Publishing Wizard

November 16, 2007
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Download, SQL Scripts

The Database Publishing Wizard scripted schema and data for SQL Server 2005-era transfers. I keep that workflow separate from current SSMS instructions.

Read More
Red, blue and gray felt hats share different levels of a wooden display shelf.

TOP WITH TIES: Keep Every Row at the Cutoff

November 14, 2007
Pinal Dave
SQL Tips and Tricks
SQL NULL, SQL Order By, SQL Scripts, SQL Server

TOP WITH TIES helps me keep equally qualified rows at a shortlist boundary. A unique ordering key changes that selection. Separate the cutoff rule from the final display order.

Read More
A gouache inspection bench preserves one cracked ceramic vessel separately from intact vessels beside an inspection lens.

SQL SERVER – DBCC CHECKDB Introduction and Explanation – DBCC CHECKDB Errors Solution

November 13, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server DBCC

DBCC CHECKDB checks database consistency. If it reports corruption, I preserve the output and establish the recovery options.

Read More
SQL SERVER - FIX : ERROR Msg 5174 Each file size must be greater than or equal to 512 KB

SQL SERVER – FIX : ERROR Msg 5174 Each file size must be greater than or equal to 512 KB

November 12, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts

Msg 5174 says each file size must be greater than or equal to 512 KB, followed by error 1802. The fix is to create a database larger than 512KB.

Read More
SQL SERVER - 2005 2000 - Search String in Stored Procedure

SQL SERVER – 2005 2000 – Search String in Stored Procedure

November 10, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure

Two scripts to search a string in stored procedure code, one for SQL Server 2000 using syscomments and one for SQL Server 2005, clearly labeled by version.

Read More
SQL SERVER - Disable All Triggers on a Database - Disable All Triggers on All Servers

SQL SERVER – Disable All Triggers on a Database – Disable All Triggers on All Servers

October 29, 2007
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL Trigger

How to disable all triggers on a database and on the server, which kind of trigger each command touches, and how to turn them back on safely.

Read More
Previous 1 … 328 329 330 331 332 333 334 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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