Hi folks - 

I am looking for help trying to access a column name within a query that has 
special characters in it: /, &, \

Here's a simple example:

cfquery datasource="test" name="temp"
Select [B&M], test
from test
/cfquery

cfoutput query="temp"
#[B&M]# <br />

/cfoutput


I took out the <  > just for the site.

Now then, the problem I have is that the column names are going to be dynamic 
and actually part of a many-to-many set of tables.

Since a M2M construction can be truly dynamic environment, I am looking for 
help dealing with potentially an unknown column name and access the data 
associated with it.

Any and all help is appreciated.

Thanks,

Doug 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332026
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to