CREATE PROCEDURE panduan(@id int,@)existflag string OUTPUT)
As
if exists(select * from users where id=@id)
select @exisflag='真'
else
select @existflag='假'
CREATE PROCEDURE panduan(@id int,@)existflag string OUTPUT)
As
if exists(select * from users where id=@id)
select @exisflag='真'
else
select @existflag='假'