Created
May 7, 2020 19:45
-
-
Save chenbojian/cc6709892d425e59d91c7decac17d860 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 | |
msp.publication AS PublicationName, | |
msa.publisher_db AS DatabaseName, | |
msa.article AS ArticleName, | |
msa.source_owner AS SchemaName, | |
msa.source_object AS TableName | |
FROM distribution.dbo.MSarticles msa | |
JOIN distribution.dbo.MSpublications msp ON msa.publication_id = msp.publication_id | |
ORDER BY | |
msp.publication, | |
msa.article |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment