[PHP code]
Copy code The code is as follows:
$stmt = mssql_init('P__Global_Test' , $conn) or die("initialize stored procedure failure");
mssql_bind($stmt, "RETVAL", $returnValue, SQLINT4, true);
mssql_execute($stmt, false);
if ( $returnValue == 0 ){
echo 'ABCD'; 🎜>
[Stored Procedure]
Copy code
The code is as follows: CREATE PROCEDURE dbo.P__User_JudgeResume(
)
set nocount on
set @Message = ''
if not exists( select * from _Test )
begin
return 0
end
else
begin
return 1
end
set nocount off
GO
http://www.bkjia.com/PHPjc/328010.html
www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/328010.htmlTechArticle[PHP code] Copy the code as follows: $stmt = mssql_init('P__Global_Test', $conn) or die( "initialize stored procedure failure"); mssql_bind($stmt, "RETVAL", $returnValue, SQLI...
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn