August 1999
Intermediate to advanced
1488 pages
72h 53m
English
cursor.columnName(num)
The columnName() method of the Cursor object takes the zero-based indexed number location, num, passed to the method and returns the name of the column in that location. Note that these names are not returned in any specific order unless you order them as such. Successive calls to the method, however, will return all the columns. See the example for more information on this.
Listing 8.30 has two cursors. One of the cursors returns specific column names and the other returns all columns. See the comments in the code for the output.
<SERVER> // Create a pool of connections var ... |
Read now
Unlock full access