SBM AppScript Reference → Programming SBM AppScript → Extension Functions → Ext.TableDatabaseName( tableDispNameOrId )
Returns the database name of the specified table, such as "TS_INCIDENTS." Note that SQL statements must use the database name, not the display name.
tableDispNameOrId
Use this argument to specify a table's display name in order to return the table's database name. If tableDispNameOrId is a non-numeric string, it is taken as the table's display name, such as "Incidents." Otherwise, the parameter is converted to a number and taken as the table's ID.
Returns the database name of the table if the display name exists. If not, an empty string is returned.
Copyright © 2007–2017 Serena Software, Inc. All rights reserved.