Serveroutput from a Tsql Procedure
I Want to Write a Message on the Console in the Sql Server Management Studio with a Tsql Procedure. Basically the Same Thing as Set Serveroutput on...
I want to write a message on the console in the SQL Server Management Studio with a TSQL procedure. Basically the same thing as
set serveroutput on
dbms_output.put_line ('hello');
does in Oracle. Hows can I do this?
1 Answer
Use Print..
Print 'Hello world'
For variabless..
print @a