SQL--局部变量

取值的话:print @变量名,

变量不设置值的话,默认打印出来是:NULL,

输出变量的值:

原文地址:https://www.cnblogs.com/caofangsheng/p/5170204.html