<<

Contents

Search

>>

 

JDBC_EXEC_PREPARED

 

 

Function

 

 

Syntax:

JDBC_EXEC_PREPARED(<File Number>)

 

<File Number> = <NUM-EXPRESSION>

 

Meaning:

Executes the SQL command that was last prepared with JDBC_PREPARE.

 

JDBC_EXEC_PREPARED returns the result –1 if an error occurred, otherwise 0.

 

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

 

Parameter:

File Number

Number of JDBC database

 

Sample:

H% = JDBC_EXEC_PREPARED(2)

IF H% = -1

THEN ERRORMES = JDBC_GET_LAST_ERROR$

ENDIF

 

See also:

JDBC_CONNECT

JDBC_EXEC_DIRECT

JDBC_SETPARAM

JDBC_PREPARE