Retrieves the designated column's database-specific type name for a JSP Web target.
PSCursorClass objects
cursorobject.GetColumnTypeName ( int iCol )
Argument |
Description |
---|---|
cursorobject |
A variable that contains a reference to an instance of PSCursorClass |
iCol |
Number of the column for which you want to obtain the (database-specific) datatype name |
String
Use this method to obtain the type name used by the database (such as int, datetime, varchar, and so on). If the column type is a user-defined type, then a fully-qualified type name is returned.
The following example retrieves the database-specific type name of the fifth column in the object called “mycursor”:
column_typename = mycursor.GetColumnTypeName(5);