create proc ch@uid char(12),@pwd char(32)asselect count(*) from ND_admin where uid=@uid and pwd=@pwd
极其简单,返回一个数值,1就是验证通过,其他就是不通过