create proc userQuan(@id nvarchar(50))asbeginselect top 1 from quan where id=@idend
那只能穷举了。如果你有数据库的权限,可以尝试想别的办法突破