sdstuber thanks for that. I don't think I can use temp tables but any code samples or links I can refer to for other solutions?
Main Topics
Browse All TopicsI was trying to acheive this:
DELL BLACK 537 - DESKTOP ONLY D250S1
- 250GB
- 2GB RAM
- 3 YR LIMITED WARRANTY
- 7 DAYS FROM RECEIPT, UNOPENED
- ATI RADEON 3200
- BLU-RAY COMBO
- DELL 22IN LCD
- DELL AX210
- INCLUDED
- INSPIRON 537 SLIM
- INTEGRATED
- INTEL DUAL CORE E5200 2.5GHz
- MS WINDOWS VISTA HOME BASIC
- MS WORKS 9.0
- NIC, 56K
- NORTON 360 ALL-IN-ONE SECURITY
- NOT INCLUDED
- NOT INCLUDED
- NOT INCLUDED
DELL V305 ALL IN ONE PRINTER + INK
- 1 YR LIMITED WARRANTY
- 7 DAYS FROM RECEIPT, UNOPENED
- DELL V305 ALL-IN-ONE PRINTER
DELL BLACK 537 - DESKTOP ONLY D250S1
- 250GB
- 2GB RAM
- 3 YR LIMITED WARRANTY
- 7 DAYS FROM RECEIPT, UNOPENED
- ATI RADEON 3200
- BLU-RAY COMBO
- DELL 22IN LCD
- DELL AX210
- INCLUDED
- INSPIRON 537 SLIM
- INTEGRATED
- INTEL DUAL CORE E5200 2.5GHz
- MS WINDOWS VISTA HOME BASIC
- MS WORKS 9.0
- NIC, 56K
- NORTON 360 ALL-IN-ONE SECURITY
- NOT INCLUDED
- NOT INCLUDED
- NOT INCLUDED
DELL V305 ALL IN ONE PRINTER + INK
- 1 YR LIMITED WARRANTY
- 7 DAYS FROM RECEIPT, UNOPENED
- DELL V305 ALL-IN-ONE PRINTER
and the code below has achieved it. but since the results are returned through DBMS_OUTPUT.PUT_LINE the datareader in .NET is not able to get the results. Is there a way to replace the DBMS_OUTPUT.PUT_LINE with SELECT's so we get a Table of data?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I am a little bit confused as to the composition of your data.
These are all PRODUCT_NAME values?
DELL BLACK 537 - DESKTOP ONLY D250S1
DELL V305 ALL IN ONE PRINTER + INK
DELL BLACK 537 - DESKTOP ONLY D250S1
Whereas
250GB
2GB RAM
3 YR LIMITED WARRANTY
...
7 DAYS FROM RECEIPT, UNOPENED
DELL V305 ALL-IN-ONE PRINTER
are all ELEMENT values? If not, what does your data actually look like?
If yes, how does your code achieve the ordering shown? Why are the two entries marked DELL BLACK 537 - DESKTOP ONLY D250S1 not listed consecutively?
There are several ways, depending on how much output there is:
You could turn your procedure into a Function and return all the output through a single variable, replace the DBMS_OUTPUT with a simple concat.
Alternatively if the DB and Application are on the same server. return the DBMS_OUTPUT file name, and open and read the file.
gatorvip, Sorry I think it was repeated in the DBMS_OUTPUT screen. it has to be shown only like,
Product Name
- Bundle Info 1
- Bundle Info 2
Ex:
DELL BLACK 537 - DESKTOP ONLY D250S1
- 250GB
- 2GB RAM
- 3 YR LIMITED WARRANTY
- 7 DAYS FROM RECEIPT, UNOPENED
- ATI RADEON 3200
- BLU-RAY COMBO
- DELL 22IN LCD
- DELL AX210
- INCLUDED
- INSPIRON 537 SLIM
- INTEGRATED
- INTEL DUAL CORE E5200 2.5GHz
- MS WINDOWS VISTA HOME BASIC
- MS WORKS 9.0
- NIC, 56K
- NORTON 360 ALL-IN-ONE SECURITY
- NOT INCLUDED
- NOT INCLUDED
- NOT INCLUDED
DELL V305 ALL IN ONE PRINTER + INK
- 1 YR LIMITED WARRANTY
- 7 DAYS FROM RECEIPT, UNOPENED
- DELL V305 ALL-IN-ONE PRINTER
Business Accounts
Answer for Membership
by: sdstuberPosted on 2009-09-24 at 08:11:11ID: 25414164
you can use a pipelined function, or return the query as a reference cursor, or create a table function, or load the data into a temp table instead of dbms_output then query that table in the .net code