mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 12:35:59 +00:00
mssql indexes analyse WIP
This commit is contained in:
7
plugins/dbgate-plugin-mssql/src/backend/sql/indexcols.js
Normal file
7
plugins/dbgate-plugin-mssql/src/backend/sql/indexcols.js
Normal file
@@ -0,0 +1,7 @@
|
||||
module.exports = `
|
||||
select c.object_id, c.index_id, c.column_id, c.is_descending_key, c.is_included_column from sys.index_columns c
|
||||
|
||||
where c.object_id =OBJECT_ID_CONDITION
|
||||
order by c.key_ordinal
|
||||
|
||||
`;
|
||||
Reference in New Issue
Block a user