Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. SQL Server
  3. Question
SQL Server

Why does sql server print prints nothing?

Asked by Alison Kelly Oct 4, 2022 1.0K views 1 answer
Share

About this question

I don't get any output for this simple PRINT statement. What am I missing?


Data supplied in sqlfiddle.
DECLARE @team varchar(20)
BEGIN
   SELECT @team = TEAM
   FROM DISTRIB_LINE 
   PRINT 'value is' + @team

END

Your answer

1 Answer

More SQL Server discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.