php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #1037 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 Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or 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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-01-10 00:43 UTC] rasmus
Added - Thanks
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 23:01:32 2024 UTC