Select email1 + ',' + email2 as email FYI: The concatenation character will vary depending on which RDBMS you are using.
Jacob -----Original Message----- From: Torrent Girl [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 31, 2005 1:34 PM To: SQL Subject: Re: Help - stumped i guess a better question is if i am pulling an email address from a query, then i pull another email address from a subquery and give it an alias, how can I reference the alias and concatenate it to the first email address. email_address ||','|| alias = email The alias is giving me an error. Says that it is "not a valid indentifier" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:6:2304 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/6 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:6 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.6 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
