Siebel Analytics Server Administration Guide > Working in a Repository's Physical Layer > About Physical Joins >

Defining Physical Joins in the Physical Table Diagram


The Physical Table Diagram shows physical tables and any defined joins between them. You can use the Physical Table Diagram to define foreign keys and complex joins between tables, whether or not the tables are in the same database.

To display the Physical Table Diagram

To define a foreign key join or complex join

  1. In the Physical layer of the Administration Tool, select one or more tables and execute one of the Physical Diagram commands from the right-click menu.
  2. The Physical Table Diagram window appears.

  3. To add another table to the diagram window, select the table you want to add (with the diagram window still open) and execute one of the Physical Diagram commands from the right-click menu.
  4. Repeat this process until all the tables you are interested in appear in the diagram window.

  5. Click one of the following buttons on the Administration Tool tool bar:
  6. With this button selected, move the cursor to the first table in the join (the one of the one-to-many join).
  7. Left-click and move the cursor to the table to which you want to make the join (the many of the one-to-many join), and then left-click on the second table.
  8. The Physical Foreign Key or Physical Join dialog box appears.

  9. Select the joining columns from the left and the right tables.
  10. The SQL join conditions appear in the expression pane of the window.

    NOTE:  The driving table feature is shown on this window, but it is not available for selection because the Siebel Analytics Server implements driving tables only in the Business Model and Mapping layer. For more information about driving tables, see Specifying a Driving Table.

  11. If appropriate, specify a database hint.
  12. For information about database hints, see Using Database Hints.

  13. To open the Expression Builder, click the button to the right of the Expression pane.
  14. The expression displays in the Expression pane.

  15. Click OK to apply the selections.
  16. The join link appears in the diagram window with the crow's feet pointing to the many part of the one-to-many join.


 Siebel Analytics Server Administration Guide 
 Published: 23 June 2003