Yes you can, create or replace type mystrtype is table of varchar2(100) / select cast(multiset(sod.description) as mystrtype) from so_trn_detail sod where ... /
Just make sure that the type will be able to hold the max description. BTW this works from 8i onwards ... You will have to parse the information, but it will do what you need it to do. Raj ______________________________________________________ Rajendra Jamadagni MIS, ESPN Inc. Rajendra dot Jamadagni at ESPN dot com Any opinion expressed here is personal and doesn't reflect that of ESPN Inc. QOTD: Any clod can have facts, but having an opinion is an art! -----Original Message----- Sent: Tuesday, August 20, 2002 12:34 PM To: Multiple recipients of list ORACLE-L I dont think any generic SQL query can do it. What you can do is write a function which takes the SO_TRN_ID as an argument and returns the concatenated string. Then you can use the function to get the string. SELECT function_name(SO_TRN_ID) as DESCRIPTION from dual; HTH Naveen
*********************************************************************This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.*********************************************************************2
