Convert the number to a character before doing a substring by using the CAST function.
Ray Thompson Tau Beta Pi (www.tbp.org) The Engineering Honor Society 865-546-4578 -----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:3085 Subscription: http://www.houseoffusion.com/groups/SQL/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.6
