34,587
社区成员
发帖
与我相关
我的任务
分享
use MyQQ
go
create proc LoginUser
@id int,
@pwd varchar
as
select Id,LoginPwd from users where id=@id and LoginPwd=@pwd
use MyQQ
go
--varchar参数加长度
create proc LoginUser
@id int,
@pwd varchar(2000)
as
select Id,LoginPwd from users where id=@id and LoginPwd=@pwd
--调用
exec LoginUser 10000,'0000'