This oracle forum posts in 2015 says that Long data type is deprecated for 20 years. Right now, in 2023, it is almost 30 years this data type is deprecated but it is commonly used in data dictionary views. Even though for some of the long data type columns has duplicated varchar2 columns after 12c, there are a still a lot of them for example data_default column in ALL_TAB_COLS.
select
OWNER,
TABLE_NAME,
COLUMN_NAME,
DATA_TYPE,
DATA_LENGTH,
NULLABLE,
DATA_DEFAULT,
VIRTUAL_COLUMN,
IDENTITY_COLUMN
from ALL_TAB_COLS C
WHERE
C.table_name = 'TABLE_NAME'
AND C.OWNER = 'SCHEMA_NAME'
AND C.COLUMN_NAME = 'COLUMN_NAME';
How to convert these long columns to varchar2?