11 lines
199 B
Markdown
11 lines
199 B
Markdown
|
> constraint
|
||
|
|
||
|
```sql
|
||
|
SELECT 'ALTER TABLE '||owner||'.'||table_name || ' DROP CONSTRAINT '||constraint_name ||' CASCADE;'
|
||
|
FROM ALL_CONSTRAINTS
|
||
|
WHERE owner <> 'SYS'
|
||
|
AND con_type = 'REFERENTIAL'
|
||
|
|
||
|
```
|
||
|
|