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
Gouache painting of a gravel track branching into footpaths leading to three sheds, the nearest with a vermilion door

Windows Path Variable: Run oStress From Any Folder

May 9, 2020
Pinal Dave
SQL Tips and Tricks
Command Line, SQL Utility, sqlcmd, Windows

The Windows Path variable is a list of folders that Windows searches when you type a program name. This post shows how to test a change in one window, add a folder for good and check that it works. It uses oStress and sqlcmd as the examples and ends with rules for a clean Path.

Read More
sqlcmd mode

SQL SERVER Management Studio and SQLCMD Mode

April 30, 2020
Pinal Dave
SQL Tips and Tricks
SQL Download, SQL Scripts, SQL Server, SQL Server Management Studio, sqlcmd, Testing

Honestly, there is an alternative way to quickly use SSMS SQLCMD mode as a development environment, let us learn about it today. 

Read More
Gouache painting of a wooden spoon with a vermilion handle beside a big cream stand mixer

sqlcmd vs SSMS: How to Time the Same Loop Fairly

April 29, 2020
Pinal Dave
SQL Performance
Command Line, SQL Scripts, SQL Server Management Studio, sqlcmd, Testing

A sqlcmd vs SSMS timing is fair only when both tools run the same file. The clock must sit inside the script. This post times 10,000 inserts three ways with a log table, shows what changed and what didn’t, and lists the settings to match before you compare.

Read More
Gouache painting of a plank bridge over a brook loaded with sandbags, the top one vermilion

oStress Load Test: Run Many Sessions Against SQL Server

April 27, 2020
Pinal Dave
SQL Performance
Command Line, SQL Server, sqlcmd, Testing

An oStress load test runs one query from many connections at once, so you can watch SQL Server under a crowd. This post explains the main switches and runs a small first test with five connections. It also builds the same test with sqlcmd workers, for machines without oStress.

Read More
A small red folding bicycle being unfolded on a train platform beside a heavy old bicycle

go-sqlcmd: The New Command Line Tool for SQL Server

October 8, 2019
Pinal Dave
SQL Tips and Tricks
Command Line, SQL Server, SQL Utility, sqlcmd

Set up go-sqlcmd on Windows, verify the executable, run scripts and variables, control output, and review optional container commands.

Read More
Gouache painting of a narrow mountain footbridge with one vermilion wheelbarrow crossing alone

Fix Error 3637: Backup Fails on a DAC Connection

February 25, 2019
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Connection, SQL Error Messages, sqlcmd

To fix error 3637, find out why your backup runs on a dedicated administrator connection. This post reproduces the message with sqlcmd and its -A switch, shows the same backup working on a normal connection, and lists where a DAC hides in scripts and scheduled tasks.

Read More
SQL Server feature pack.

SQL SERVER – How to Execute the Query Without Using Management Studio?

February 28, 2018
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Management Studio, sqlcmd, Starting SQL

A client’s security team removed SQL Server Management Studio from the server. Here are simple ways for beginners to run a query without it.

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

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