Re: Re: [PHP3] valid sybase sp just does not return results
| From: | Andrian Pervazov | Date: | Tue, 20 Jun 2000 21:45:17 +0000 |
| Subject: | Re: Re: [PHP3] valid sybase sp just does not return results | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2370@lists.php.net to get a copy of this message | ||
Richard Lynch wrote:
>
> In article <802568FF.00559C3F.00@acelondon.co.uk>,
> david.tansley@acelondon.co.uk wrote:
>
> > $sql="sp_helpobjectdef";
>
> Wild Guess Alert!
> Try using $sql = "call sp_helpobjectdef()" or somesuch...
> Or even just adding the ()s to it...
>
> (Yeah, like MS-isms from ASP and SQL Server are really going to work...)
> --
> Richard Lynch | If this was worth $$$ to you, buy a CD
> US Customer Support Director | from one of the artists listed here:
> Zend Technologies USA | http://www.L-I-E.com/artists.htm
> http://www.zend.com | (this has nothing to do with
> Zend, duh!)
At least with MS SQL Server 6.5 the syntax is "EXEC sp_tables" (or
sp_whatever the name of the stored procedure is.
Andrian