• debanjan.ray (1/24/2013)


    That table contains only 1lac rows.

    Table PK:

    Table_sr_key, table_eff_strt_dt

    Table FK(10 Fks like same structure):

    PRD_SR_KEY, EFF_STRT_DT

    REFERENCES Product (PRD_SR_KEY, EFF_STRT_DT)

    Table is refernced by more than 20 table.

    This is primarily a English-speaking site, so 95% of the people here don't know what you mean with lac (or lakh). Also read the following article about keeping the integrity of your database when deleting rows in a table referenced by FKs:

    Do not disable foreign keys

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP