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
SQL SERVER - Simple Example of WHILE Loop with BREAK and CONTINUE

SQL SERVER – Simple Example of WHILE Loop with BREAK and CONTINUE

February 4, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts

A very simple example of WHILE Loop with BREAK and CONTINUE, plus a Books Online sample that uses a SELECT query in the WHILE condition.

Read More
An amber warning lamp standing alone on wet concrete in a dark plant room

SQL SERVER – FIX : ERROR : Cannot find template file for new query (C:\Program Files\Microsoft SQL Server\90\Tools\ Binn\VSShell\Common7\ IDE\sqlworkbenchprojectitems\Sql\ SQLFile.sql)

February 3, 2008
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, Starting SQL

Cannot find template file for new query means SSMS lost a small local file. Where it lives, how to restore it, and what to check next.

Read More
SQL SERVER - Find All The User Defined Functions (UDF) in a Database

SQL SERVER – Find All The User Defined Functions (UDF) in a Database

February 2, 2008
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts

A very simple script that lists all the User Defined Functions in a database, with schema name and type, by reading sys.objects in SQL Server.

Read More
Two overlapping wooden rails share a fitted bridge on a richly painted workshop bench

Salary Ranges: Match Overlapping Intervals in SQL Server

February 1, 2008
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Joins, SQL NULL, SQL Server

Match salary ranges using both boundaries of the job and candidate intervals. Define open bounds and test containment, endpoint contact and invalid input.

Read More
Two wooden meringue boards, each with four meringues and two empty wells on opposite ends.

binary Conversion: Strings and Numbers Pad on Different Sides

January 31, 2008
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server

binary Conversion pads and truncates on different sides depending on the source type. I compare one integer with one string at two target widths. The resulting byte sequences show why width alone is not the complete rule.

Read More
SQL SERVER - FIX : ERROR : The query processor could not start the necessary thread resources for parallel query execution

SQL SERVER – FIX : ERROR : The query processor could not start the necessary thread resources for parallel query execution

January 30, 2008
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server

What to do when the query processor could not start the thread resources for parallel query execution, and why this error often clears itself.

Read More
A cabinet of seed drawers, each with a tiny window showing what it holds, one red tassel

Documenting a Database With Extended Properties

January 29, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Schema, SQL Documentation, SQL Server

Keep extended properties beside your SQL Server schema, maintain table and column descriptions, and query a useful data dictionary.

Read More
Previous 1 … 519 520 521 522 523 524 525 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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