GetQueryDbId
Description
Returns the database ID (DBID) of a query workspace item, given the query name. The return value is the workspace item DBID, given the workspace item name. You must specify the query name with the full path (for example, Personal Queries/Query1).
Note: For more information on DBIDs, see Working with records
Syntax
Perl
$workspace->GetQueryDbId(queryName);
- Identifier
- Description
- workspace
- The Workspace object obtained from the current session.
- queryName
- A String containing the workspace path name of the query (for example, Personal Queries/Query1).
- Return value
- Returns a Long containing the DBID of the query workspace item.