SQL过程问题 [英] SQL Procedure Question
本文介绍了SQL过程问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
需要在SQL Procedure中添加两个数字并在结果窗格中打印Result而不是Messages Pane.Pls帮助我解决这个问题。
Need to add two numbers in SQL Procedure and print the Result in result pane instead of Messages Pane.Pls help me with this.
推荐答案
这个
this
select 26 + 42 as result
不是这个
not this
declare @result int
set @result = 26 + 42
print @ result
这篇关于SQL过程问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文