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: a garden bench seen from the front has five slat positions

CHAR: Invalid Character Codes Return NULL

February 7, 2008
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Server

CHAR constructs a character instead of printing an integer. Preserve byte-code inputs and distinguish an ordinary space from missing output.

Read More
A paper ribbon of comma separated values feeding into a machine and coming out as a tidy table.

SQL SERVER – Import CSV File Into SQL Server Using Bulk Insert – Load Comma Delimited File Into SQL Server

February 6, 2008
Pinal Dave
SQL Tips and Tricks
CSV, SQL Scripts, SQL Utility

How to import CSV file data into SQL Server with BULK INSERT: create a table, point to the comma delimited file and load every row in a few quick steps.

Read More
A red telephone and a green can with speech bubbles referencing iPHONE and YOU TUBE.

SQLAuthority News – SQL Joke, SQL Humor, SQL Laugh – Funny Microsoft Quotes

February 5, 2008
Pinal Dave
SQLAuthority News
Database, DBA, SQL Humor, SQL Server

I have received many emails that I should write more post like SQLAuthority News – SQL Joke, SQL Humor, SQL Laugh – Funny Quotes.

Read More
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 … 541 542 543 544 545 546 547 … 590 Next
  • Books
  • Testimonials
  • Privacy Policy

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