Skip to content

Commit

Permalink
Update SQLServerDatabaseMetaData.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Ananya2 authored Dec 13, 2024
1 parent 0b52da7 commit 72cac86
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1221,12 +1221,7 @@ public java.sql.ResultSet getIndexInfo(String cat, String schema, String table,
"WHERE t.name = '" + table + "' " +
"AND sch.name = '" + schema + "' " +
"ORDER BY t.name, i.name, ic.key_ordinal";
try {
return getResultSetFromInternalQueries(cat, query);
} catch (SQLException e) {
// Handle the SQLException appropriately (log, rethrow, etc.)
throw new SQLServerException("Error executing getIndexInfo query", e);
}
return getResultSetFromInternalQueries(cat, query);
}

@Override
Expand Down

0 comments on commit 72cac86

Please sign in to comment.