DatabaseName
Specifies a database other than the default system database.
If this parameter is omitted, the default system database is used.
Parameters
Name. Specifies the database name. This parameter accepts a string value.
Examples
var Query;
Query = CRM.CreateQueryObj('Select * from company', 'crm');
Query.SelectSQL();
Query.DatabaseName(crm);
Executes the SQL statement on a database named crm.