Stored proc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Guys

I'm trying to execute an MSSQL 2000 stored proc in PHP:

This:

$sp_FINGPDebtorBalance_query=mssql_query($_GLOBALS["GPDB"] . "sp_FINGPDebtorBalance_rset '" . trim($Outlet_session) . "E', 0");

produces the following:

*Warning*: mssql_query(): Query failed in *c:\program files\apache group\apache\htdocs\spar\admin\rpt_electrans.php* on line *172

If I echo the parameter of mssql_query and copy and paste it into SQL Query Analyzer it works fine.

Any ideas what I might be missing?

Cheers
Louis
*

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux