pro sql server:
select precision from sys.columns where name='<column_name>'
pro oracle:
select data_precision from all_tab_columns where column_name = '<columnName>'
pro sql server:
select precision from sys.columns where name='<column_name>'
pro oracle:
select data_precision from all_tab_columns where column_name = '<columnName>'