SqlDataDictionary.tableCreate Method [AX 2012]

Creates one or more Microsoft Dynamics AX tables in the SQL database. Also, provides an option to create for index.

public int tableCreate([boolean indexes, TableId tableId])

Run On

Server

Parameters

indexes
Type: boolean
A boolean flag that determines whether to create indexes; optional.
tableId
Type: TableId Extended Data Type
The table handle (0 for all); optional.

Return Value

Type: int
Zero if the method succeeds.

Used for low-level maintenance only.

{ 
    SqlDataDictionary DD = new SqlDataDictionary(); 
    DD.tableCreate(TableName2Id("Address")); 
}

Community Additions

ADD
Show: