DB errorNative() method

From: Date: Tue, 06 Jan 2004 08:30:16 +0000
Subject: DB errorNative() method
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24802@lists.php.net to get a copy of this message
Hi Folks: I've run into an odd situation. mssql didn't have an errorNative() method. It seems most errorNative() methods return an error code from the backend. But, some produce an error message (sybase, pgsql). Worse, a couple produce a string containing both the code and the message (odbc, ifx). For the new mssql procedure, I'm thinking it would be best for it to return the numeric error code because it can, even though sybase comes back with a text message. Agree? --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.pear.dev (#24802) next »