create proc ch@uid char(12),@pwd char(32)asselect count(*) from ND_admin where uid=@uid and pwd=@pwd 极其简单,返回一个数值,1就是验证通过,其他就是不通过 转载于:https://www.cnblogs.com/wanghe/archive/2010/03/12/1683982.html