You can use CAST in QofQ now. So, you could use QofQ to recard the column to varchar. You could also simply make a duplicate of your ID column when performing your select and cast that as varchar. Or do queryAddColumn and put the data there.
On Thu, 10 Feb 2005 12:17:26 -0000, Martin Parry <[EMAIL PROTECTED]> wrote: > I have today posted a feature request on MM's website.. If anyone else > agrees with it and would us it please also request it. > > Due to changes in the way CF7 handles casting on queries, I can no > longer populate a string value into an integer column using <cfset > QuerySetCell(....)>. Assuming I had a unique_id of 21014 I may want to > prefix this with PID_ - I now get a manky error - Invalid data PID_21014 > for CFSQLTYPE CF_SQL_INTEGER. > > A <cfset QueryCastColumn(myQuery, "columnName", "cf_sql_varchar")> would > be a real bonus as I'm now needing to kludge around this. > > Post it on... http://www.macromedia.com/support/email/wishform/ > > Martin Parry > Macromedia Certified Developer > http://www.BeetrootStreet.co.uk > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194052 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

