Hi all,
I could not work out a way to make an error occurred on a stored procedure on
on MSSQL server (2005) propagate back into PHP using PDO and PDOStatement.
My setup is the following:
PHP 5.2.9 / PDO_DBLIB running on a CentOS 5.3 machine executing the most
simple stored procedure on a MSSQL Server 2005 that only does RAISERROR().
Sample PHP code is attached.
Can anyone address me to a best practices tutorial regarding this case?
Thanks in advance,
Massi.
Massimiliano Cavicchioli
Senior Support Engineer
Zend Technologies, Ltd.
Email:massi@zend.com
Tel:+972.3.6139544
www.zend.com
Use PDO_ODBC and make sure you are running with the most recent
version of FreeTDS and its ODBC driver.
--Wez.
Hi all,
I could not work out a way to make an error occurred on a stored procedure on
on MSSQL server (2005) propagate back into PHP using PDO and PDOStatement.
My setup is the following:
PHP 5.2.9 / PDO_DBLIB running on a CentOS 5.3 machine executing the most
simple stored procedure on a MSSQL Server 2005 that only does RAISERROR().
Sample PHP code is attached.
Can anyone address me to a best practices tutorial regarding this case?
Thanks in advance,
Massi.Massimiliano Cavicchioli
Senior Support Engineer
Zend Technologies, Ltd.
Email:massi@zend.com
Tel:+972.3.6139544
www.zend.com