Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_ip_ddl

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

This method processes IP DDL commands.

int dam_ip_ddl(
    long hdbc,
    long hstmt, 
    int  iStmtType)

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
TitleResults for “How to create a CRG?”Also Available inAlert