I'm writing a subsystem that tables might be renamed from project to project.
Instead of asking the user of my subsystem to search & replace before using it, does this work?
<cfquery name="local.foo" datasource="#dsn#">
SELECT col1, col2, col3
FROM #tableName#
</cfquery>
Without <cfqueryparam>
, will it become non-cacheable? or any other issues? (assume SQL-injection is not an issue)
I don't think I can use <cfqueryparam>
for table name, right?
Thanks.