php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #1038 Doc update for odbc_connect and odbc_pconnect
Submitted: 1999-01-06 21:36 UTC Modified: 1999-01-10 00:43 UTC
From: walton at nordicdms dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 3.0.6 OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: walton at nordicdms dot com
New email:
PHP Version: OS:

 

 [1999-01-06 21:36 UTC] walton at nordicdms dot com
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-01-10 00:43 UTC] rasmus
Duplicate
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 01 01:01:28 2024 UTC