Is there any way to do this in MSSQL?  Normally you can not return more
then one value with type of subquery.

Here is what I would like to do:
Select UserID, Name, (select orderNo from orders where OrderID=UserID)
as Orders
>From Users

Result:

"1", "BOB", "12,63,192"
"2", "Ed",  "34,45,233" 

Thanks

Mark W. Breneman
-Cold Fusion Developer
-Network Administrator
  Vivid Media
  [EMAIL PROTECTED]
  www.vividmedia.com
  608.270.9770

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com

Reply via email to