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.
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.