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
SQLCMD Mode.

SQL SERVER – How to Set Variable and Use Variable in SQLCMD Mode

June 28, 2013
Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio, sqlcmd

A reader asked how to pass a different table name each time in SSMS. I show how to set and use a variable in SQLCMD mode with :SETVAR, step by step.

Read More
SQL SERVER - Interview Questions and Answers Sample Chapter Free Download - SQL in Sixty Seconds #050

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
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
SQL Server Instance Name Setting.

SQL SERVER – Fix Visual Studio Error : Connections to SQL Server files (.mdf) require SQL Server Express 2005 to function properly. Please verify the installation of the component or download from the URL

November 30, 2012
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, sqlcmd

Visual Studio says connections to .mdf files require SQL Server Express 2005? You do not need 2005. Point Data Connections to your installed instance name.

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

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