I'm not positive but I don't think you can use substring in a query of query. Look at the following link for a few alternatives.
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:52748 -----Original Message----- From: Liam O'Brien [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 4:58 PM To: SQL Subject: Re: problem with substring I am getting the same error that I did before: Encountered "SUBSTRING. Incorrect Select List, Incorrect select column, I did not think that it would make a difference, but this is a query of a query. I am querying the result of pulling all of the records from the database. would this make a difference? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/SQL/message.cfm/messageid:3083 Subscription: http://www.houseoffusion.com/groups/SQL/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.6
