title: Getting the data type of a ResultSet column
body: <p>I am using SQL Server. My table has a column with the data type <code>datetime2</code>.</p>
  
  <p>I am accessing the table data using <code>ResultSet</code>. I need to get the data type of a column. The method <code>rs.getColumnTypeName()</code> returns <code>nvarchar</code> for database data type <code>datetime2</code>.</p>
  
  <p>Is there any way to get <code>datetime2</code> or <code>Timestamp</code> for the same?</p>