correct on "sybase function for MS-SQL Server"
| From: | jong jong | Date: | Fri, 29 Jun 2001 22:10:53 +0000 |
| Subject: | correct on "sybase function for MS-SQL Server" | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-9984@lists.php.net to get a copy of this message | ||
I have to correct this:
The following stored procedure did add 2 records into
"mytable" after I called sybase_query("exec
SP",$conn). But it just returned "false" like what I
said yesterday. Anyway, 2 records went to my database.
That's better than 1. So I don't care this "false".
SP:
CREATE PROCEDURE SP AS
insert into mytable values(...)
insert into mytable values(...)
Now, I find that sybase_query() can not work with the
stored procedure which has more than 1 "select ..."
statement. What is the problem here?
Thanks,
Wen
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/