Quantcast
Channel: Questions in topic: "synonyms"
Viewing all articles
Browse latest Browse all 14

DMV to search through synonym DDL

$
0
0
Is there a DMV or something similar that will allow me to search for a particular string in the DDL of a synonym? For example if I created a synonym as follows: CREATE SYNONYM [my_schema].[my_synonym] FOR [other_server].[other_db].[other_schema].[other_view_about_business_stuff] ...how can I search through all my synonyms for the string 'business_stuff'? Oh... and I'd want it to be able to work on SQL 2005 or later.

Viewing all articles
Browse latest Browse all 14

Trending Articles