Friday, June 27, 2014

Difference between Alias Table vs Duplicate Table

Today my colleague asked me "what is difference between Alias Table and Duplicate Table?"

Here is the answer.....

Alias TableDuplicate Table
Its a mirror image of the Parent TableIts a Copy of the Parent Table
We can't edit or modify Alias TableWe can edit/modify/delete columns in Duplicate table
Changes made in Parent Table is automatically reflected in Alias tableChanges made in Parent table are not reflected in Duplicate table
Used : When there is a need to avoid self-join or circular joinUsed when there is a need to use few columns of Parent table.


Its always good to use an Alias table, as it is more convenient in maintaining the RPD .



-Asifkhan P.

No comments:

Post a Comment