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 'WAITFOR' execution context in Visual Studio.

SQL SERVER – Time Delay While Running T-SQL Query – WAITFOR Introduction

January 3, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL DateTime, SQL Scripts, SQL Utility

WAITFOR makes a T-SQL batch pause for a set time, or until a clock time, before the next statement runs. I show both uses with small examples.

Read More
A hand fitting a new wiper blade to a parked car in the rain, the old cracked blade resting on the windshield

Keeping SSMS Up to Date

December 21, 2008
Pinal Dave
SQL Tips and Tricks
DBA, SQL Server, SQL Server Management Studio, SQL Utility

Keeping SSMS up to date means reading release notes, choosing a supported channel, planning side by side installs, and checking settings.

Read More
Database column collation.

SQL SERVER – Change Collation of Database Column – T-SQL Script

December 20, 2008
Pinal Dave
SQL Performance
SQL Collation, SQL Scripts, SQL Server Security, SQL Utility

How to change collation of database column with ALTER TABLE ALTER COLUMN and COLLATE, then check it in sys.columns. A short test script shows each step.

Read More
A new hand plane cutting a single thin curl of shaving from a pine board clamped in a vise

Installing sqlcmd and bcp on a Clean Machine

October 27, 2008
Pinal Dave
SQL Tips and Tricks
Command Line, DBA, SQL Server, SQL Utility, sqlcmd

Installing sqlcmd and bcp on Windows starts with the current Microsoft command line utilities, then PATH and version checks.

Read More
SQL Server project new project dialog box.

SQL SERVER – Introduction to CLR – Simple Example of CLR Stored Procedure

October 19, 2008
Pinal Dave
SQL Performance
CLR, Software Development, SQL Scripts, SQL Stored Procedure, SQL Utility

An introduction to CLR in SQL Server 2005 and later, with a simple CLR Stored Procedure built in Visual Studio that prints the current system datetime.

Read More
SQL SERVER - 2008 - Enhenced TRIM() Function - Remove Trailing Spaces, Leading Spaces, White Space, Tabs, Carriage Returns, Line Feeds

SQL SERVER – 2008 – Enhenced TRIM() Function – Remove Trailing Spaces, Leading Spaces, White Space, Tabs, Carriage Returns, Line Feeds

October 10, 2008
Pinal Dave
SQL Performance
SQL Function, SQL Scripts, SQL String, SQL Utility

Need to remove trailing spaces, leading spaces, tabs, carriage returns and line feeds? Here is an enhanced TRIM function built from a script by Russ and Erik.

Read More
SQL SERVER - Guidelines and Coding Standards Complete List Download

SQL SERVER – Guidelines and Coding Standards Complete List Download

September 25, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Data Warehousing, Database, DBA, SQL Coding Standards, SQL Constraint and Keys, SQL Cursor, SQL Data Storage, SQL Download, SQL Function, SQL Index, SQL Joins, SQL Scripts, SQL Server Security, SQL Stored Procedure, SQL Trigger, SQL Utility

My coding standards complete list for SQL Server, cut to what people follow: naming, formatting, and the rules that prevent real bugs.

Read More
Previous 1 … 6 7 8 9 10 11 12 … 17 Next
  • Books
  • Testimonials
  • Privacy Policy

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