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 - Explanation SQL Command GO

SQL SERVER – Explanation SQL Command GO

May 11, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Utility

GO is not a T-SQL command. It tells SQL Server tools to send the current batch. Why a GO statement must sit on its own line, and how it ends a batch.

Read More
SQL SERVER - Fix : Error 2501 : Cannot find a table or object with the name . Check the system catalog.

SQL SERVER – Fix : Error 2501 : Cannot find a table or object with the name . Check the system catalog.

May 9, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL System Table

Error 2501, cannot find a table or object with the name, is a common beginner error. Check the database with USE, the spelling and case, and the owner name.

Read More
SQL SERVER - 2005/2000 Examples and Explanation for GOTO

SQL SERVER – 2005/2000 Examples and Explanation for GOTO

May 7, 2007
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Utility

How the GOTO statement jumps to a label in the same T-SQL batch. My explanation for GOTO covers the syntax, the rules and when I still use it.

Read More
SQL SERVER - Creating Comma Separate Values List from Table - UDF - SP

SQL SERVER – Creating Comma Separate Values List from Table – UDF – SP

May 6, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts

Three ways to build a Comma Separate Values List from a table: COALESCE, a smart SELECT, or a cursor. Written for SQL Server 2005 with VARCHAR(MAX).

Read More
SQL SERVER - UDF - Function to Convert List to Table

SQL SERVER – UDF – Function to Convert List to Table

May 6, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts

A UDF, udf_List2Table, to convert list to table with any delimiter you choose. Written for SQL Server 2005 with VARCHAR(MAX), and easy to adapt for 2000.

Read More
SQL SERVER - 2005 Enable CLR using T-SQL script

SQL SERVER – 2005 Enable CLR using T-SQL script

May 5, 2007
Pinal Dave
SQL Tips and Tricks
CLR, SQL Scripts, SQL Server Configuration, SQL Server Security

In SQL Server 2005 the CLR is off by default. Here is the sp_configure script to enable CLR, turning on show advanced options and then clr enabled.

Read More
SQL SERVER - UDF - User Defined Function to Find Weekdays Between Two Dates

SQL SERVER – UDF – User Defined Function to Find Weekdays Between Two Dates

May 5, 2007
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Utility

A user defined function that returns the number of weekdays between two dates, skipping Saturday and Sunday. It was written by Alexander Chigrik.

Read More
Previous 1 … 351 352 353 354 355 356 357 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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