[Mydatabasepilot-cvs] MyDatabasePilot/Query/LockRequired thisDatabaseName.cfm,NONE,1.1
Status: Alpha
Brought to you by:
nanoface
From: <nan...@us...> - 2003-04-24 03:07:17
|
Update of /cvsroot/mydatabasepilot/MyDatabasePilot/Query/LockRequired In directory sc8-pr-cvs1:/tmp/cvs-serv7973/Query/LockRequired Added Files: thisDatabaseName.cfm Log Message: Internal Structure Changed: [ 725992 ] Create new session var dbName --- NEW FILE: thisDatabaseName.cfm --- <!---******************************************************************************************* * Copyright: MyDatabase Pilot is distributed under the terms of the GNU GPL license * * Template: Query/LockRequired/thisDatabaseName.cfm * * Purpose: Creates a Record Set with the name of the current database * * Requiremets: - Connection Variables must already be set * * - This Query Must be called from within a session lock to ensure the * * integrity of session variables * ********************************************************************************************---> <!---||| Create a Record Set with the name of the current database |||---> <cfquery name="thisDatabaseName" datasource="#session.dataSource#" username="#session.userName#" password="#session.password#"> SELECT DATABASE() AS databaseName; </cfquery> |