sql中返回參數(shù)的值
exec sp_executesql N'select @value=姓名 from people where 人員編號=''0001''',N'@value varchar(50) output',@name output
select @name
相關(guān)文章
SQL對數(shù)據(jù)進(jìn)行按月統(tǒng)計(jì)或?qū)?shù)據(jù)進(jìn)行按星期統(tǒng)計(jì)的實(shí)例代碼
這篇文章主要介紹了SQL對數(shù)據(jù)進(jìn)行按月統(tǒng)計(jì)或?qū)?shù)據(jù)進(jìn)行按星期統(tǒng)計(jì)的實(shí)例代碼,非常不錯,具有一定的參考借鑒價值,需要的朋友可以參考下2019-08-08學(xué)習(xí)SQL語句(強(qiáng)大的group by與select from模式)
本文介紹的是強(qiáng)大的group by使用與利用select from (select from)的模式生成SQL語句的代碼。2011-10-10SQLServer 使用ADSI執(zhí)行分布式查詢ActiveDorectory對象
SQLServer 通過使用 ADSI 執(zhí)行分布式查詢ActiveDorectory對象的實(shí)現(xiàn)方法。2010-05-05復(fù)制SqlServer數(shù)據(jù)庫的方法
復(fù)制SqlServer數(shù)據(jù)庫的方法...2007-03-03