Retrieves data from a specified column in a specified table, such as column type, storage length, precision, and scale attributes, and places the data in the object accessed by the dest value.
To ensure that dest points to the
object in which to have the retrieved column information placed,
use the bysymbol() function on that object, then pass
the returned symoff value into the method, as
in the example below. For more information, see the “Introduction”.
columnInfo(symoff dest, string tablename, string colname);
Pattern |
Description |
---|---|
dest |
symoff to an object to hold the incoming data. |
tablename |
The name of the table that contains the column with the desired data. |
colname |
The name of the column that contains the desired data. |
Integer. Returns a positive integer if successful, and zero or negative integer, if failed.
Pointer to object |
Object |
---|---|
|
|
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |