-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Formatting of queries is now available as an option in the add-in. #426
- Loading branch information
1 parent
b4b6d03
commit 2e79ba0
Showing
5 changed files
with
118 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,41 @@ | ||
SELECT MSysNavPaneGroupCategories.Name AS CategoryName, MSysNavPaneGroupCategories.Position AS CategoryPosition, MSysNavPaneGroupCategories.Flags AS CategoryFlags, MSysNavPaneGroups.Name AS GroupName, MSysNavPaneGroups.Flags AS GroupFlags, MSysNavPaneGroups.Position AS GroupPosition, MSysObjects.Type AS ObjectType, MSysObjects.Name AS ObjectName, MSysNavPaneGroupToObjects.Flags AS ObjectFlags, MSysNavPaneGroupToObjects.Icon AS ObjectIcon, MSysNavPaneGroupToObjects.Position AS ObjectPosition, MSysNavPaneGroupToObjects.Name AS NameInGroup, MSysNavPaneGroupCategories.Id AS CategoryID, MSysNavPaneGroups.Id AS GroupID, MSysNavPaneGroupToObjects.Id AS LinkID | ||
FROM (MSysNavPaneGroupCategories INNER JOIN MSysNavPaneGroups ON MSysNavPaneGroupCategories.Id = MSysNavPaneGroups.GroupCategoryID) LEFT JOIN (MSysNavPaneGroupToObjects LEFT JOIN MSysObjects ON MSysNavPaneGroupToObjects.ObjectID = MSysObjects.Id) ON MSysNavPaneGroups.Id = MSysNavPaneGroupToObjects.GroupID | ||
WHERE (((MSysNavPaneGroups.Name) Is Not Null) AND ((MSysNavPaneGroupCategories.Type)=4)) | ||
ORDER BY MSysNavPaneGroupCategories.Name, MSysNavPaneGroups.Name, MSysObjects.Type, MSysObjects.Name; | ||
SELECT | ||
MSysNavPaneGroupCategories.Name AS CategoryName, | ||
MSysNavPaneGroupCategories.Position AS CategoryPosition, | ||
MSysNavPaneGroupCategories.Flags AS CategoryFlags, | ||
MSysNavPaneGroups.Name AS GroupName, | ||
MSysNavPaneGroups.Flags AS GroupFlags, | ||
MSysNavPaneGroups.Position AS GroupPosition, | ||
MSysObjects.Type AS ObjectType, | ||
MSysObjects.Name AS ObjectName, | ||
MSysNavPaneGroupToObjects.Flags AS ObjectFlags, | ||
MSysNavPaneGroupToObjects.Icon AS ObjectIcon, | ||
MSysNavPaneGroupToObjects.Position AS ObjectPosition, | ||
MSysNavPaneGroupToObjects.Name AS NameInGroup, | ||
MSysNavPaneGroupCategories.Id AS CategoryID, | ||
MSysNavPaneGroups.Id AS GroupID, | ||
MSysNavPaneGroupToObjects.Id AS LinkID | ||
FROM | ||
( | ||
MSysNavPaneGroupCategories | ||
INNER JOIN MSysNavPaneGroups ON MSysNavPaneGroupCategories.Id = MSysNavPaneGroups.GroupCategoryID | ||
) | ||
LEFT JOIN ( | ||
MSysNavPaneGroupToObjects | ||
LEFT JOIN MSysObjects ON MSysNavPaneGroupToObjects.ObjectID = MSysObjects.Id | ||
) ON MSysNavPaneGroups.Id = MSysNavPaneGroupToObjects.GroupID | ||
WHERE | ||
( | ||
( | ||
(MSysNavPaneGroups.Name) Is Not Null | ||
) | ||
AND ( | ||
( | ||
MSysNavPaneGroupCategories.Type | ||
)= 4 | ||
) | ||
) | ||
ORDER BY | ||
MSysNavPaneGroupCategories.Name, | ||
MSysNavPaneGroups.Name, | ||
MSysObjects.Type, | ||
MSysObjects.Name; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters