<<

Contents

Search

>>

 

JDBC_COL_NAMES$

 

 

Function

 

 

Syntax:

JDBC_COL_NAMES$(<File Number>)

 

<File Number> = <NUM-EXPRESSION>

 

Meaning:

Returns the name of the returned columns, ist type and length separated by "|".

 

If no error occurs, OK = 0.

 

If an error occurs, the variable OK contains the error number and the function JDBC_GET_LAST_ERROR$ returns the error text.

 

JDBC_COL_NAMES$ can only be called after successful JDBC-Select statement, because only then the returned columns are definite.

 

Parameter:

File Number

Number of JDBC database

 

Sample:

COL_NAMES$ = JDBC_COL_NAMES$(2)

IF OK <> 0

THEN ERRORMES = JDBC_GET_LAST_ERROR$

ENDIF

 

See also:

JDBC_TABLE_NAMES$

JDBC_DATA_TYPES$