|
Posted by Hugo Kornelis on 09/15/05 02:20
On 14 Sep 2005 15:59:22 -0700, BD wrote:
>And, recreating any PK constraints, depending on the nature of the
>column change.
>
>I'm pretty sure PK constraints will also follow the SID of the table,
>and refer to the 'old' table even after it is renamed, so they should
>be dropped and recreated. I could be mistaken on that point, though.
Hi BD,
PK constraints (and all other constraints that are defined on the table)
will be dropped when the table is dropped. They should of course be
included in the CREATE TABLE statement for the new table, or added with
ALTER TABLE statements.
Best, Hugo
--
(Remove _NO_ and _SPAM_ to get my e-mail address)
[Back to original message]
|