--• Business Solutions: --• Enterprise ERP, Database Management & IT Infrastructure --• AI, Cloud
Wednesday, March 8, 2017
Constraints All in Oracle
SELECT cols.column_name, cols.position, cons.status
FROM all_constraints cons, all_cons_columns cols
WHERE cols.table_name = 'EMP_HOLY_DAY'
AND cons.constraint_type = 'P'
AND cons.constraint_name = cols.constraint_name
AND cons.owner = cols.owner
ORDER BY cols.table_name, cols.position;
DISABLE
ALTER TABLE EMP_HOLY_DAY disable CONSTRAINT EMP_HOLY_DAY_PK;
ALTER TABLE EMP_HOLY_DAY enable CONSTRAINT EMP_HOLY_DAY_PK;
DROP
alter table receipt_detail drop constraint receipt_detail_itemcode_fk cascade
alter table receipt_detail drop constraint receipt_detail_pk cascade
Subscribe to:
Post Comments (Atom)
https://www.linkedin.com/pulse/building-real-time-database-monitoring-dashboard-oracle-khaleeq-tpwxf/
-
# Report Column (only column): 1. Column Formatting > HTML Expression <span style="display:block; width: 200px"> #...
-
when open forms builder then errors FRM-91129: fatal error: no value specified for required environment variable FORMS_BUILDER_CLASSPATH a...
-
Installing Oracle Forms and Reports 12c on Windows 10 64 Bit. Hardware used for this installation is · Intel i3-2370M CPU · ...
-
I wanted to share a little trick I’ve used in APEX for a while now to conditionally format report columns based on their values. I’m sure th...
No comments:
Post a Comment