Re: using "sequence", how to drop constraints?

From: Jerry Gitomer <jgitomer_at_erols.com>
Date: Sat, 11 Mar 2000 00:40:34 -0500
Message-ID: <38C9DC52.27900C1E_at_erols.com>


matthew taylor wrote:
>

                [ big snip ]
>
> // now cleanup ie. drop sequence and table.
> drop SEQUENCE s_customer_id;
> DROP TABLE s_customer;
> // note - do not need to drop constraints in addition to dropping table.
> // but how to drop constraint without dropping table (and data)??

        Try ALTER TABLE s_customer_id DROP CONSTRAINT <constraint_name>;

-- 
Jerry Gitomer
Once I learned how to spell DBA, I became one.
Received on Sat Mar 11 2000 - 06:40:34 CET

Original text of this message