SQL Prompt - 5.1

SQL Prompt

Learning SQL Prompt - 5.1

Qualifying object names

SQL Prompt enables you to modify a SQL script so that all object names are qualified in the format:

owner.object

Column names are qualified in the format:

table.column

Note that:

  • SQL Server name and database name qualifiers are not added to the names.
  • Qualifying object names is available only in SQL Prompt Pro Edition.

To qualify object names:

  1. Open the script you want to modify in a SQL Server Management Studio query window.
  2. If required, select a portion of SQL in the script that contains the object names that you want to qualify.

    If you do not select any SQL, all object names in the script are qualified.

  3. On the SQL Prompt menu, click Qualify Object Names.

You can undo the changes to the script using the standard SQL Server Management Studio Undo features.

To keep the changes, save the script.

Was this article helpful?

Search support
Forums
Visit the SQL Prompt forum.

SQL Prompt

all SQL products

all products