【PHP代碼】
$stmt = mssql_init(
mssql_bind($stmt
mssql_execute($stmt
if( $returnValue ==
echo
}
else{ <PRE class=php name="code"> echo
【存儲過程】
CREATE PROCEDURE dbo
)
set nocount on
set @Message =
if not exists( select * from _Test )
begin
return
end
else
begin
return
end
set nocount off
GO
From:http://tw.wingwit.com/Article/program/PHP/201311/21052.html