mssql indexes analyse WIP

This commit is contained in:
Jan Prochazka
2021-08-14 09:36:22 +02:00
parent 71e1ea5736
commit 3c0bc69662
5 changed files with 42 additions and 1 deletions

View 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
`;