skip to main content
OpenAccess SDK SQL Engine core methods for Java : Exchanging data : dam_ip_ddl
 

dam_ip_ddl

This method processes IP DDL commands.
int dam_ip_ddl(
    long hdbc,
    long hstmt,
    int  iStmtType)
Table 227. Parameters for dam_ip_ddl
Parameter
Type
Description
INPUT
hdbc
long
The connection handle.
hstmt
long
The statement handle.
iStmtType
int
The type of DDL statement:
DAM_CREATE_TABLE - create a table.
DAM_ALTER_TABLE - alter a table.
DAM_DROP_TABLE - drop a table.
DAM_CREATE_INDEX - create an index.
DAM_DROP_INDEX - drop an index.
DAM_CREATE_VIEW - create a view.
DAM_DROP_VIEW - drop a view.
RETURN
int
DAM_SUCCESS - On Success
DAM_NOT_AVAILABLE - On failure