Is there an option/attribute in the cfquery to specify the Database Directory?
We don't want to put the directory in the ODBC Data Source because we want the user to be able to specify any directory they desire.
The following technique using #dbdir# is a work-around, but we would prefer a technique where we don't have to modify all the SQL statements.
<cfset dbdir = "/home/auser/data/">
<cfquery name="qGetEmployees" datasource="somedb">
SELECT strFName, strLName, strPhone
FROM #dbdir#employees
</cfquery>
Thanks in advance.
We don't want to put the directory in the ODBC Data Source because we want the user to be able to specify any directory they desire.
The following technique using #dbdir# is a work-around, but we would prefer a technique where we don't have to modify all the SQL statements.
<cfset dbdir = "/home/auser/data/">
<cfquery name="qGetEmployees" datasource="somedb">
SELECT strFName, strLName, strPhone
FROM #dbdir#employees
</cfquery>
Thanks in advance.