Is it possible that Execute SQL Query without Displaying results?
like
Select * from Table_Name
after running this query result should not be displayed in sql server.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Executing will return a recordset. It may have no rows of course but get a result
You can suppress rows but not the resultset with SET FMTONLY
Never had a use for it personally though…
Edit 2018. As noted, see @deroby’s answer for a better solution these days