Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle SQL query for getting specific special characters from a table

1021717Dec 11 2013 — edited Dec 12 2013

Hi all,

This is my table

Table Name- Table1

S.no    Name

------     --------------------

1          aaaaaaaa

2          a1234sgjghb

3          a@3$%jkhkjn

4          abcd-dfghjik

5          bbvxzckvbzxcv&^%#

6          ashgweqfg/gfjwgefj////

7          sdsaf$([]:'

8          <-fdsjgbdfsg

9           dfgfdgfd"uodf

10         aaaa  bbbbz#$

11         cccc dddd-/mnm

The output has to be

S.no    Name

------     --------------------

3          a@3$%jkhkjn

5          bbvxzckvbzxcv&^%#

7          sdsaf$([]:'

8          <-fdsjgbdfsg

10         aaaa  bbbbz#$

It has to return "Name" column which is having special characters,whereas some special chars like -, / ," and space are acceptable.

The Oracle query has to print columns having special characters excluding -,/," and space

Can anyone help me to get a SQL query for the above.

Thanks in advance.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 9 2014
Added on Dec 11 2013
4 comments
909 views