SqlDataDictionary.tableExist Method

Returns true if table exists; otherwise false.

Syntax

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.

See Also

Reference

SqlDataDictionary Class