Detect datetime precision
I am looking for someway to tell the difference between datetime and datetime(3) using the JDBC DatabaseMetaData. I tried the following
rs = connection.getMetaData().getColumns(null, null, tableName, null);
while (rs.next()) { ... }
and looking at all the info but I didn't see any difference between two columns with different precision.
Subject
Written By
Posted
Detect datetime precision
April 13, 2015 05:16PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.