摘要:
1、登录验证:CREATE procedure proc_logon(@username nvarchar(50), --账号@password nvarchar(50), --密码@reValue int output --返回结果)ASif exists(select id from P_login where username=@username)begin if exists(select id from P_login where username=@username and password=@password) set @reValue=0 --通过验证 else se... 阅读全文