Table A data
ID NAME
1 (abhe)
2 (gd
3 good
4 bfhd)
I want the result as below
ID NAME
1 abhe
2 gd
3 good
4 bfhd
How to solve this please? Guide me.
Thanks in advance.
Table A data
ID NAME
1 (abhe)
2 (gd
3 good
4 bfhd)
I want the result as below
ID NAME
1 abhe
2 gd
3 good
4 bfhd
How to solve this please? Guide me.
Thanks in advance.
ANSI SQL answer, to remove leading (
and trailing )
:
select id, TRIM(leading '(' from TRIM(trailing ')' from name))
from tablename