width
(Removed) Return field size of column in fetched data set
The width
function has been removed. There is no replacement for
this functionality. To import data, use the fetch
function. For details, see Compatibility Considerations.
Syntax
colsize = width(curs,colnum)
Description
colsize = width(curs,colnum)
returns the field
size of the specified column number colnum
in the fetched data set
curs
.
Examples
Retrieve the width of the first column of the fetched data set
curs
.
colsize = width(curs,1) colsize = 11
The field size of column one is 11 characters (bytes).
To create fetched data sets using an ODBC connection, you can use the native ODBC
interface. For details, see database
.