PRINT statement in T-SQL

后端 未结 6 776
有刺的猬
有刺的猬 2020-11-30 22:57

Why does the PRINT statement in T-SQL seem to only sometimes work? What are the constraints on using it? It seems sometimes if a result set is generated, it becomes a null

6条回答
  •  臣服心动
    2020-11-30 23:21

    Do you have variables that are associated with these print statements been output? if so, I have found that if the variable has no value then the print statement will not be ouput.

提交回复
热议问题