Home > database >  How to generate A table primary key of the foreign key constraints to delete, create statements
How to generate A table primary key of the foreign key constraints to delete, create statements

Time:03-06

Recently, the thing is, to form a simple table partitions script, your goal is only executed after generation into the name of the table table partitioning,
Current file group and file, partition function, dynamic generation partitioning scheme has been written, see used to generate the script also need to rebuild rely on A table primary key foreign key constraints, means that also need to use A table primary key table as A foreign key constraints to remove the constraints, and also create statements, but to find the along while also didn't find relevant measures, thus to BBS for help,
I more popular explanation, such as table B, table A foreign key constraints exist in table C, so I think through script generated table B, C the generation of foreign key constraints, delete A script,
  • Related