help
help
От:
Nicholas I <nicholas.domnic.i@gmail.com>
Дата:
Hi,
I have a table in which the data's are entered like,
Example:
One (1)
Two (2)
Three (3)
I want to extract the data which is only within the parentheses.
that is
1
2
3
Thank You
Nicholas I
Re: help
От:
Filip Rembiałkowski <plk.zuber@gmail.com>
Дата:
select substring( data from '\((.*)\)' ) from table; 2010/5/5 Nicholas I : > Hi, > > I have a table in which the data's are entered like, > > Example: > > One (1) > Two (2) > Three (3) > > I want to extract the data which is only within the parentheses. > > that is > 1 > 2 > 3 > > > Thank You > Nicholas I > > -- Filip Rembiałkowski JID,mailto:filip.rembialkowski@gmail.com http://filip.rembialkowski.net/
Re: help
От:
Marcin Krawczyk <jankes.mk@gmail.com>
Дата:
Or even simpler, or easier to understand:
SELECT trim(foo, '()') FROM foobar
pozdrowienia / regards / salutations
mk
2010/5/5 Nicholas I <nicholas.domnic.i@gmail.com>
Hi,
I have a table in which the data's are entered like,
Example:
One (1)
Two (2)
Three (3)
I want to extract the data which is only within the parentheses.
that is
1
2
3
Thank You
Nicholas I