I'm looking for a way to temporarily turn off all DB's constraints (eg table relationships).
I need to copy (using INSERTs) one DB's tables to another DB.
I know I can achieve that by executing commands in proper order (to not break relationships).
But it would be easier if I could turn off checking constraints temporarily and turn it back on after the operation's finish.
Is this possible?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…