Hello Guys, I'm looking to pull a set of records from the database but treat two of the columns as one, I'll also need to GROUP BY on that combined column, so somthing like this.
SELECT Col1 & Col2 AS ColCombined FROM MyTable WHERE Col1 LIKE '%foo%' GROUP BY ColCombined Does that make sense? Basicly this is a single string that is split when its entered into the database and needs to be combined on its way out. They are also pulled from the database as seperate entities on a regular basis in a different query, thats why they're split on the way in. If this isnt possible then i'll just build in another 'combined' column into the database, but i'd rather avoid that duplication. Thanks guys, Rob ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271500 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

