ODBC + SQL/Return Codes!

From: Date: Wed, 04 Oct 2000 18:06:48 +0000
Subject: ODBC + SQL/Return Codes!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-18463@lists.php.net to get a copy of this message
Hi, I'm using PHP4.0.2 with IBM-DB2 on a Linux RH6.2 apache 1.3.12 environment! I'm trying to figure how can I get the numeric result code for an errored SQL transaction! When I use "odbc_exec" I get the cursor for the result SQL, or "false" when this is "false" where I can find the cause (SQL error code) for this "false" ? There is a way to do this? Thanks in advance, Antonio. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Antonio S. Martins Jr. - System Analist | "Only The Shadow Knows | | WorldNet Internet Maringa - PR - Brasil | what evil lurks in the | | E-Mail: shadow@wnet.com.br | Heart of Men!" | | shadow@uem.br | !!! Linux User: 52392 !!! | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ This e-mail message is 100% Microsoft free! /"\ \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL / \

« previous php.general (#18463) next »