How to see output of any value in sql server?

 Posted by Rajesh_Kumar on 1/21/2014 | Category: Sql Server Interview questions | Views: 811 | Points: 40
Answer:

We use Print keyword to print output of any value.

declare @project_name  varchar(50);

set @project_name = 'Job Site';
Print @project_name;


Output:Job Site


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response