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!

Can I suppress output from SQL statements?

Status
Not open for further replies.

Giddygoat

Programmer
May 16, 2001
36
GB
Is there a way to suppress the output from statements such as SP_RENAME and CREATE INDEX.
I am using SET NOCOUNT ON to suppress some of the output in my scripts.
Ideally I only want errors to be reported back when the script is run.

Can anyone help?

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top