dbTalk Databases Forums  

Splitting Double Quoted String with Delimiters to Single Quotedcharacter arrays.

comp.databases.oracle.server comp.databases.oracle.server


Discuss Splitting Double Quoted String with Delimiters to Single Quotedcharacter arrays. in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
vharicharan
 
Posts: n/a

Default Splitting Double Quoted String with Delimiters to Single Quotedcharacter arrays. - 06-23-2008 , 05:21 AM






Hi,

I need to create a function that does the following.

I/P is "LONDON,CHICAGO,SANFRANCISCO"
O/P is 'LONDON','CHICAGO','SANFRANCISCO'


This is the function that i require.
The function must be able to run even with a select statement. and
also with user defined parameters... like...

join(assuming this is the name of the function)

select join(select emp_name,emp_address from emp) from dual;
or
select join("ABCD,SAFSAFD,SDFSDFS") from dual;

Please help me to attain the functionality....
A very simplistic solution preferred.

Please mail me the reply at vharicharan (AT) gmail (DOT) com ....

Reply With Quote
  #2  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Splitting Double Quoted String with Delimiters to Single Quotedcharacter arrays. - 06-23-2008 , 08:09 AM






On Jun 23, 5:21*am, vharicharan <Vharicha... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I need to create a function that does the following.

I/P is "LONDON,CHICAGO,SANFRANCISCO"
O/P is 'LONDON','CHICAGO','SANFRANCISCO'

This is the function that i require.
The function must be able to run even with a select statement. and
also with user defined parameters... like...

join(assuming this is the name of the function)

select join(select emp_name,emp_address from emp) from dual;
or
select join("ABCD,SAFSAFD,SDFSDFS") from dual;

Please help me to attain the functionality....
A very simplistic solution preferred.

Please mail me the reply at vharicha... (AT) gmail (DOT) com ....
What, exactly, have you written in an attempt to solve this problem?
Show us your code and we'll see where you may possibly have gone wrong
and offer suggestions.

To ask anyone to do your work for you is rude and inconsiderate. And
to expect that 'request' to be acted upon in a positive light is
arrogant.


David Fitzjarrell


Reply With Quote
  #3  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Splitting Double Quoted String with Delimiters to Single Quotedcharacter arrays. - 06-23-2008 , 08:09 AM



On Jun 23, 5:21*am, vharicharan <Vharicha... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I need to create a function that does the following.

I/P is "LONDON,CHICAGO,SANFRANCISCO"
O/P is 'LONDON','CHICAGO','SANFRANCISCO'

This is the function that i require.
The function must be able to run even with a select statement. and
also with user defined parameters... like...

join(assuming this is the name of the function)

select join(select emp_name,emp_address from emp) from dual;
or
select join("ABCD,SAFSAFD,SDFSDFS") from dual;

Please help me to attain the functionality....
A very simplistic solution preferred.

Please mail me the reply at vharicha... (AT) gmail (DOT) com ....
What, exactly, have you written in an attempt to solve this problem?
Show us your code and we'll see where you may possibly have gone wrong
and offer suggestions.

To ask anyone to do your work for you is rude and inconsiderate. And
to expect that 'request' to be acted upon in a positive light is
arrogant.


David Fitzjarrell


Reply With Quote
  #4  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Splitting Double Quoted String with Delimiters to Single Quotedcharacter arrays. - 06-23-2008 , 08:09 AM



On Jun 23, 5:21*am, vharicharan <Vharicha... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I need to create a function that does the following.

I/P is "LONDON,CHICAGO,SANFRANCISCO"
O/P is 'LONDON','CHICAGO','SANFRANCISCO'

This is the function that i require.
The function must be able to run even with a select statement. and
also with user defined parameters... like...

join(assuming this is the name of the function)

select join(select emp_name,emp_address from emp) from dual;
or
select join("ABCD,SAFSAFD,SDFSDFS") from dual;

Please help me to attain the functionality....
A very simplistic solution preferred.

Please mail me the reply at vharicha... (AT) gmail (DOT) com ....
What, exactly, have you written in an attempt to solve this problem?
Show us your code and we'll see where you may possibly have gone wrong
and offer suggestions.

To ask anyone to do your work for you is rude and inconsiderate. And
to expect that 'request' to be acted upon in a positive light is
arrogant.


David Fitzjarrell


Reply With Quote
  #5  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Splitting Double Quoted String with Delimiters to Single Quotedcharacter arrays. - 06-23-2008 , 08:09 AM



On Jun 23, 5:21*am, vharicharan <Vharicha... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I need to create a function that does the following.

I/P is "LONDON,CHICAGO,SANFRANCISCO"
O/P is 'LONDON','CHICAGO','SANFRANCISCO'

This is the function that i require.
The function must be able to run even with a select statement. and
also with user defined parameters... like...

join(assuming this is the name of the function)

select join(select emp_name,emp_address from emp) from dual;
or
select join("ABCD,SAFSAFD,SDFSDFS") from dual;

Please help me to attain the functionality....
A very simplistic solution preferred.

Please mail me the reply at vharicha... (AT) gmail (DOT) com ....
What, exactly, have you written in an attempt to solve this problem?
Show us your code and we'll see where you may possibly have gone wrong
and offer suggestions.

To ask anyone to do your work for you is rude and inconsiderate. And
to expect that 'request' to be acted upon in a positive light is
arrogant.


David Fitzjarrell


Reply With Quote
  #6  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Splitting Double Quoted String with Delimiters to Single Quotedcharacter arrays. - 06-23-2008 , 08:09 AM



On Jun 23, 5:21*am, vharicharan <Vharicha... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I need to create a function that does the following.

I/P is "LONDON,CHICAGO,SANFRANCISCO"
O/P is 'LONDON','CHICAGO','SANFRANCISCO'

This is the function that i require.
The function must be able to run even with a select statement. and
also with user defined parameters... like...

join(assuming this is the name of the function)

select join(select emp_name,emp_address from emp) from dual;
or
select join("ABCD,SAFSAFD,SDFSDFS") from dual;

Please help me to attain the functionality....
A very simplistic solution preferred.

Please mail me the reply at vharicha... (AT) gmail (DOT) com ....
What, exactly, have you written in an attempt to solve this problem?
Show us your code and we'll see where you may possibly have gone wrong
and offer suggestions.

To ask anyone to do your work for you is rude and inconsiderate. And
to expect that 'request' to be acted upon in a positive light is
arrogant.


David Fitzjarrell


Reply With Quote
  #7  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Splitting Double Quoted String with Delimiters to Single Quotedcharacter arrays. - 06-23-2008 , 08:09 AM



On Jun 23, 5:21*am, vharicharan <Vharicha... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I need to create a function that does the following.

I/P is "LONDON,CHICAGO,SANFRANCISCO"
O/P is 'LONDON','CHICAGO','SANFRANCISCO'

This is the function that i require.
The function must be able to run even with a select statement. and
also with user defined parameters... like...

join(assuming this is the name of the function)

select join(select emp_name,emp_address from emp) from dual;
or
select join("ABCD,SAFSAFD,SDFSDFS") from dual;

Please help me to attain the functionality....
A very simplistic solution preferred.

Please mail me the reply at vharicha... (AT) gmail (DOT) com ....
What, exactly, have you written in an attempt to solve this problem?
Show us your code and we'll see where you may possibly have gone wrong
and offer suggestions.

To ask anyone to do your work for you is rude and inconsiderate. And
to expect that 'request' to be acted upon in a positive light is
arrogant.


David Fitzjarrell


Reply With Quote
  #8  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Splitting Double Quoted String with Delimiters to Single Quotedcharacter arrays. - 06-23-2008 , 08:09 AM



On Jun 23, 5:21*am, vharicharan <Vharicha... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

I need to create a function that does the following.

I/P is "LONDON,CHICAGO,SANFRANCISCO"
O/P is 'LONDON','CHICAGO','SANFRANCISCO'

This is the function that i require.
The function must be able to run even with a select statement. and
also with user defined parameters... like...

join(assuming this is the name of the function)

select join(select emp_name,emp_address from emp) from dual;
or
select join("ABCD,SAFSAFD,SDFSDFS") from dual;

Please help me to attain the functionality....
A very simplistic solution preferred.

Please mail me the reply at vharicha... (AT) gmail (DOT) com ....
What, exactly, have you written in an attempt to solve this problem?
Show us your code and we'll see where you may possibly have gone wrong
and offer suggestions.

To ask anyone to do your work for you is rude and inconsiderate. And
to expect that 'request' to be acted upon in a positive light is
arrogant.


David Fitzjarrell


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.