您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

从动态SQL中返回值_MySQL

2024/3/17 19:27:38发布16次查看
declare @transactorid int
set @transactorid=0
print(@transactorid)
--exec sp_executesql n'select @transactorid=68 ',n'@transactorid int ',@transactorid
exec sp_executesql n'select @transactorid=5 ',n'@transactorid int out ',@transactorid out
print(@transactorid)
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product