Created
October 23, 2018 10:15
-
-
Save DarkAllien/9cd771f1d367d6b64dcfd1718590a191 to your computer and use it in GitHub Desktop.
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
SELECT DISTINCT | |
[aa].[CollectionID], | |
[aa].[CollectionName] | |
FROM [v_ApplicationAssignment] [aa] | |
WHERE [aa].[ApplicationName] = @AppInfo | |
ORDER BY 2; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To get deal with localized application names I used the following query
WHERE [aa].[ApplicationName] like N'%'+@AppInfo+N'%'