This documentation is archived and is not being maintained.
SqlDataDictionary.tableExist Method [AX 2012]
Returns true if table exists; otherwise false.
public boolean tableExist(str sqltablename, [boolean use_within_transaction])
Run On
Server
Parameters
-
sqltablename
- Type: str
The name of the table to be checked.
-
use_within_transaction
- Type: boolean
A boolean flag that determines whether transactions are to used; optional. By default, false.
Return Value
Type:
boolean
true if the table exists; otherwise, false.