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
SELECT query error in SQL Server Management Studio.

SQL SERVER – sqlcmd – Using a Dedicated Administrator Connection to Kill Currently Running Query

January 9, 2009
Pinal Dave
SQL Performance
SQL Scripts, SQL Server Security, SQL Utility, sqlcmd

When a long running query makes SQL Server stop responding, sqlcmd with a Dedicated Administrator Connection lets you connect from another computer and kill it.

Read More
SQL SERVER - Interesting Observation - Using sqlcmd From SSMS Query Editor

SQL SERVER – Interesting Observation – Using sqlcmd From SSMS Query Editor

January 6, 2009
Pinal Dave
SQL Video
SQL Scripts, SQL Server, SQL Utility, sqlcmd

Turn on SQLCMD Mode and the SSMS Query Editor can run sqlcmd scripts that mix OS and SQL commands. The interesting part: the OS commands run first.

Read More
Sqlcmd command window.

SQL SERVER – sqlcmd vs osql – Basic Comparison

January 5, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Utility, sqlcmd

sqlcmd vs osql: which one should you use to run queries from the command prompt? A short comparison of isql, osql and sqlcmd, and why I pick sqlcmd.

Read More
SQL SERVER - 2008 - Change Color of Status Bar of SSMS Query Editor

SQL SERVER – 2008 – Change Color of Status Bar of SSMS Query Editor

January 4, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Server Management Studio, SQL Server Security, SQL Utility

Change the color of status bar in SSMS 2008 for each server, so a query meant for development never runs on production by mistake. Step by step with images.

Read More
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
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
SQL Server Maintenance Tools Icon.

SQL SERVER – Connect using Enterprise Manager to SQL Server 2005/2008

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

Can SQL Server 2000’s Enterprise Manager connect to SQL Server 2005 or 2008? No. You need SQL Server Management Studio, which ships with 2005 and later.

Read More
Previous 1 … 17 18 19 20 21 22 23 … 33 Next
  • Books
  • Testimonials
  • Privacy Policy

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