Bug #1038: Doc update for odbc_connect and odbc_pconnect

From: Date: Thu, 07 Jan 1999 02:36:06 +0000
Subject: Bug #1038: Doc update for odbc_connect and odbc_pconnect
Groups: php.dev 
Request: Send a blank email to php-dev+get-3352@lists.php.net to get a copy of this message
From: walton@nordicdms.com Operating system: PHP version: 3.0.6 PHP Bug Type: Documentation problem Bug description: Doc update for odbc_connect and odbc_pconnect int odbc_connect(string dsn, string user, string password, int cursortype); int odbc_pconnect(string dsn, string user, string password, int cursortype); The optional fourth parameter sets the type of cursor to be used for this connection. This parameter is not normally needed. However, with some ODBC drivers, executing a complex stored procedure may fail with an error similar to: "Cannot open a cursor on a stored procedure that has anything other than a single select statement in it". Using SQL_CUR_USE_ODBC may avoid that error. The following constants are defined for cursortype: SQL_CUR_USE_IF_NEEDED SQL_CUR_USE_ODBC SQL_CUR_USE_DRIVER SQL_CUR_DEFAULT -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3352) next »