Originally posted by Nadeem Ahmad: Can any body help to get the answer of this question? I have posted this question on the related link..but cud not get the answer. Plzz give the answer here only if you Know.
Your question seems a little odd, in that a database does not have length. If you are referring to a column, you can find out using the ResultSetMetadata interface in JDBC. More specifically ResultSetMetadata.getColumnDisplaySize(). Jamie