日期:2014-05-18 浏览次数:20677 次
create proc pro_test @name varchar(50)output as select @name =b.name from sysobjects b join syscolumns a on b.id = a.cdefault where a.id = object_id('bj_gzbxz') and a.name ='L1' go
------解决方案--------------------
create proc pro_test (@name varchar(20) output)--忘了写类型 select @name =b.name from sysobjects b join syscolumns a on b.id = a.cdefault where a.id = object_id('bj_gzbxz') and a.name ='L1' go