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
A checkout belt with three groups of groceries split by red divider bars

GO Is Not T-SQL: Batches, Variable Scope and GO With a Count

May 11, 2013
Pinal Dave
SQL Tips and Tricks
Batch, SQL Scripts, SQL Server, sqlcmd

Learn why GO is not T-SQL, how batches reset variable scope, what GO 3 repeats, and how applications should send scripts safely.

Read More
One chapter lifted from a stack of printed pages, a ribbon marking its place

SQL SERVER – Interview Questions and Answers Sample Chapter Free Download – SQL in Sixty Seconds #050

April 24, 2013
Pinal Dave
SQL Interview Questions and Answers
Database, SQL in Sixty Seconds, SQL Scripts, sqlcmd

SQL in Sixty Seconds hits its 50th episode and a full hour of play time. To celebrate, get a free SQL Server Interview Questions and Answers sample chapter.

Read More
SQL SERVER - Remove Cached Login from SSMS Connect Dialog - SQL in Sixty Seconds #049

SQL SERVER – Remove Cached Login from SSMS Connect Dialog – SQL in Sixty Seconds #049

April 17, 2013
Pinal Dave
SQL Video
Database, SQL in Sixty Seconds, SQL Scripts, SQL Server Management Studio, sqlcmd

Old server names clutter the SSMS Connect dialog. This SQL in Sixty Seconds video shows how to remove cached login entries in SQL Server 2012 and earlier.

Read More
60 x 60 clock image.

SQL SERVER – Enable SQLCMD Mode in SSMS – SQL in Sixty Seconds #048

April 10, 2013
Pinal Dave
SQL Video
Database, SQL in Sixty Seconds, SQL Scripts, SQL Server, SQL Server Management Studio, sqlcmd

Enable SQLCMD mode in SSMS and use sqlcmd right inside SQL Server Management Studio, for example to switch between servers in one script.

Read More
Sql server query tool window.

SQL SERVER – Exporting Query Results to CSV using SQLCMD

March 5, 2013
Pinal Dave
SQL Tips and Tricks
sqlcmd

A reader on Facebook asked how to export query results to CSV using SQLCMD. It is a very simple command, and I show it with an AdventureWorks2012 example.

Read More
A car raised on a jack in a sunny driveway, spare wheel and red brace laid out.

Rehearsing a master Database Restore on a Test Instance

February 16, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, sqlcmd, System Database

Rehearse a master database restore on a matching test instance, including single-user sqlcmd, automatic shutdown, and configuration checks.

Read More
SQL SERVER - Backup and Restore Database Using Command Prompt - SQLCMD

SQL SERVER – Backup and Restore Database Using Command Prompt – SQLCMD

February 8, 2013
Pinal Dave
SQL Video
SQL Backup and Restore, SQL in Sixty Seconds, SQL Scripts, SQL Server, sqlcmd

Good DBAs automate the boring work. Here is a simple script to run Backup and Restore of a database from the command prompt with SQLCMD.

Read More
Previous 1 2 3 4 5 6 Next
  • Books
  • Testimonials
  • Privacy Policy

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