Sql query to get column data type in sql