Skip to content
Advertisement

SQL query to get the precision value of a column

I need a sql query that gets the precision value for certain columns.. I am mainly concerned with a decimal type column and I need the precision value for the same.

I realise that it is possible to do so in certain versions and vendors of database servers. It would be nice if you could list down for a few of them.

Advertisement

Answer

Oracle:

Firebird (+ Interbase) :

MySql (Not Tested !) :

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement