Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ianmcwright

    Invoke-Sqlcmd get query output and messages

    Hi From this simple sp I want to get the result of OutPutInt1 into a variable and the print statements in a text file. CREATE PROC SP_TEST AS PRINT 'this is my output' PRINT 'this is should be in the text file' SELECT OutPutInt1 = 999 I'm trying things like: $CommandQuery = "'EXEC...

Part and Inventory Search

Back
Top