what RDBMS are you using?  Our DBA wrote a special collate() function
that does this for Oracle 9i.  Worrks sweet.

D


On Tue, 01 Mar 2005 13:02:17 -0500, Roberto Perez <[EMAIL PROTECTED]> wrote:
> At 10:04 PM 2/28/05, you wrote:
> 
> >Any particluar reason you need the database to return it in this format?
> 
> Well, the database can return it as a list of individual records, I'd need
> the CFOUTPUT to display it as a comma-separated string on the screen (not
> sure if that was clear from my previous post). I want to display a
> dictionary entry that would look like this:
> 
> * Table
>    (noun, singular)
>    A flat surface with 3 or more legs use for different
>    purposes (to write on, to lay plates and cups, etc.)
> 
>    (also see desk, ironing table, night table)  <-- comma-separated
> 
> 
> >If
> >not, CF will take care of it for you.  Try the following with your original
> >query:
> >
> ><CFOUTPUT>(#valuelist(myquery.mycolumn, ",")#)</CFOUTPUT>
> 
> I'll try that. Thanks  :-)
> 
> 
> Roberto Perez
> [EMAIL PROTECTED]
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:197063
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

Reply via email to