Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 426

SQLCMD is Microsoft SQL Server's command line utility that allows you execute T-SQL commands from a command prompt.

3 votes

Which workarounds exists to missing relative path feature of SQLCMD :r?

Microsoft isn't improving sqlcmd - all their bets are on the PowerShell horse. …
Brent Ozar's user avatar
  • 43.2k
10 votes

Running sp_AskBrent with @ExpertMode = 1 in PowerShell

Brent here. Correct, @ExpertMode = 1 turns on multiple result sets - diagnostics, wait stats, file stats, and perfmon counters. If you only want one result set, don't turn on @ExpertMode. If you wan …
Brent Ozar's user avatar
  • 43.2k