private void queryTable(String tableName) throws SQLException {
		if (conn != null)
		{
			PreparedStatement stmt = conn.prepareStatement(String.format("SELECT * FROM %s", tableName));
			ResultSet rs = stmt.executeQuery();
			
			while (rs.next()) 
			{
				for (int i = 1; i <= rs.getMetaData().getColumnCount(); i++) 
				{
					System.out.println(rs.getMetaData().getColumnName(i) + "\t" + rs.getString(i));
				}
			}
		}
	}