标签:失效 int ble select 外键 type alt -- enable
--disable fk
SELECT ‘ALTER TABLE ‘|| table_name || ‘ DISABLE CONSTRAINTS ‘ || t.constraint_name ||‘;‘
FROM user_constraints t
WHERE t.constraint_type = ‘R‘;
--enable fk
SELECT ‘ALTER TABLE ‘|| table_name || ‘ ENABLE CONSTRAINTS ‘ || t.constraint_name ||‘;‘
FROM user_constraints t
WHERE t.constraint_type = ‘R‘;
标签:失效 int ble select 外键 type alt -- enable
原文地址:https://www.cnblogs.com/Nina-piaoye/p/9457693.html