A reader, September 15, 2021 - 6:15 am UTC
How do I find out the tables which has a DEGREE greater than 1.
Arun, March 21, 2022 - 10:00 am UTC
How do I find out the tables which has a DEGREE greater than 1.
SQL> select owner, table_name, degree from dba_tables where degree > 1;
ORA-01722: invalid number
01722. 00000 - "invalid number"
*Cause: The specified number was invalid.
*Action: Specify a valid number.
March 23, 2022 - 2:26 am UTC
DEGREE is a string, because we need to store "DEFAULT"
So you can do
where trim(degree) not in ('DEFAULT','1')