Zoomed Image

AMSX Scripting Language - Command : tableexists

Summary

Check whether a database table or temp table exists and return true or false

Description

Tests whether the specified table exists in the database and stores "true" or "false" in the result buffer. Useful for guarding against errors before querying or dropping a temp table that may not have been created in a prior step.

Parameters

ParameterDescription
cmdtable name to test for existence

Syntax


TableExists "table name to test for existence"

Return to the AMSX Command Reference