Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

function returns results wrapped with breaking space.

Status
Not open for further replies.

tomblanchard

Programmer
Dec 20, 2005
12
US
I am executing a function that returns a dynamically built query, however the results get wrapped with a breaking space. Is there some way that I can stop this?

For instance if my result is supposed to come back as:

SELECT dummy from dual;


It returns:

SELECT dum
my from dual;


With a breaking space between the two m's in dummy, causing my function that executes this to throw the error missing expression when executed in Sql*Plus.

Does anyone know of a workaround for this?
 
nevermind have it working now.

I really appreciate everyones help in the last couple of days.

Thank you guys.
 
Tom,

To keep this thread and have it be of value to anyone who follows, you need to post a resolution. If you choose not to post the resolution, please Red-Flag your original post with the "Inappropriate post? If so, Red Flag it" button.

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
[ Providing low-cost remote Database Admin services]
Click here to join Utah Oracle Users Group on Tek-Tips if you use Oracle in Utah USA.
 
You are correct:

Code:
execute immediate replace(sql_in,chr(13),'') into x;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top