Created
August 7, 2019 12:28
-
-
Save kieran23101/c406014c4b51f007772587a66ac525e0 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
EXEC sp_MSforeachdb | |
'IF EXISTS (SELECT * FROM [?].INFORMATION_SCHEMA.TABLES | |
WHERE TABLE_NAME = ''PaleDNN_Templates'') | |
BEGIN | |
PRINT DB_NAME(DB_ID(''?'')) | |
END' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment