Professional Documents
Culture Documents
Disable PK - SQL
Disable PK - SQL
-----------------------------------------------------------------------------------
-- File Name : http://www.oracle-base.com/dba/constraints/disable_pk.sql
-- Author : DR Timothy S Hall
-- Description : Disables the Primary Key for the specified table, or all tables.
-- Call Syntax : @disable_pk (table-name or all) (schema-name)
-- Last Modified: 28/01/2001
--
-----------------------------------------------------------------------------------
SET PAGESIZE 0
SET FEEDBACK OFF
SET VERIFY OFF
SPOOL temp.sql
SPOOL OFF
SET PAGESIZE 14
SET FEEDBACK ON
SET VERIFY ON