Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to exclude a particular datatype in the select query in Oracle database

SQL
SELECT * FROM TEST_TABLE WHERE DATA_TYPE  != NUMBER
Posted
Updated 26-Apr-15 22:02pm
v3
Comments
Kornfeld Eliyahu Peter 27-Apr-15 3:53am    
Do not add the specific column to your select list...
RS.Ratheesh 27-Apr-15 3:55am    
I need to select all data fields except BLOB type field
Kornfeld Eliyahu Peter 27-Apr-15 3:56am    
In any case (even you want to select all columns) you should not use * for that...So remove the unwanted!

1 solution

SELECT * FROM all_tab_columns where table_name ='TABLE_NAME' AND DATA_TYPE != 'BLOB'
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900