Re: [PHP4BETA] odbc cursor usage
[email protected] (Nick Gorham) Sat, 03 Jun 2000 08:58:43 +0100
| Newsgroups | php.version4 |
|---|---|
| Organization | Not so much |
| Message-ID | <[email protected]> |
Avrum Goodblatt wrote:
> There is an odbc function which returns the cursor name.
> Of what use is this? When would I use the cursor name to do anything?
> Could someone give me a code example of its usage ...
Well you would normally use the cursor name for a positioned update or
delete if the driver supports it. ie
SELECT * from TAB FOR UPDATE
SQLGetCursorName
SQLFetch
SQLFetch
SQLFetch
DELETE WHERE CURRENT OF cursor_name
--
Nick Gorham, [email protected]
"They laughed at Galileo. They laughed at Newton.
But they also laughed at Bozo the Clown." -- Carl Sagan.