سؤال

Is there a way to query the schema of a table from a stored proc in another database without resorting to dynamic sql? The name of the database would be passed in as a parameter.

هل كانت مفيدة؟

المحلول

If you pass the name as parameter, you cannot do it without dynamic SQL.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top