Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Oracle Miscellaneous > Re: splitting a...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 6 Topic 6871 of 7280
Post > Topic >>

Re: splitting a string into columns

by kes <abirch@[EMAIL PROTECTED] > May 2, 2008 at 08:18 AM

>
> > Alex
>
> Why does this require a stored procedure and where's the pivot?
> --
Thank you for following up.

The csv1 and csv2 columns are a format for RNA sequences that have
been modified. This is why these CSV values are stored in the
database, it's usually been sufficient for our needs over the past 2
years. Now people want to see the different individual values.

e.g., xA,yG,U,G,xG

would be stored as value csv1, now people would like to see, is there
a correlation between U in the third location and this RNA sequence's
efficacy.

the reason for the pivot is I could use level in a select statement to
select
1, xA
2, yG
3, U
4, G
5, xG

then pivot it to
id, csv1_1, csv1_2, csv1_3, csv1_4, csv1_5
3, xA, yG, U, G, xG

using dynamic SQL and decode.

I was just hoping for a more elegant solution.
 




 6 Posts in Topic:
splitting a string into columns
kes <abirch@[EMAIL PRO  2008-05-01 16:55:48 
Re: splitting a string into columns
DA Morgan <damorgan@[E  2008-05-01 18:21:34 
Re: splitting a string into columns
Ed Prochak <edprochak@  2008-05-02 05:19:04 
Re: splitting a string into columns
Walt <walt_askier@[EMA  2008-05-02 09:55:46 
Re: splitting a string into columns
kes <abirch@[EMAIL PRO  2008-05-02 08:18:02 
Re: splitting a string into columns
joel garry <joel-garry  2008-05-02 13:28:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 0:40:52 CST 2008.