Reference to procedure in other database

Try to avoid using hardcoded references to other databases.

There is nothing wrong in executing procedures in other databases, using a three- or four-part reference, but it is often better to avoid hard-coding these references and use synonyms instead.

For further details, please refer to the following Product article: Managing Cross-Database Object References (EI016, EI026, EI027).

Available in

SQL Prompt

SQL Code Guard

Didn't find what you were looking for?