Tunisian made Blogging hallucinations
Dropping a primary and forign Key
Every fault made when designing a Database through SQL gets recovered in many cases, but when the field is assigned as primary kay I wonder that Alter Table thetable drop thefield will make your DBMS cry ‘Yoh man that’s a primary key go play with foggs !’ the best practice in such is that the primary key is a filed that have a constraint dropping the constraint wil make you DBMS obey you as a master : ‘ALTER TABLE thetable DROP CONSTRAINT thekey’. In most DBMS this woks fine and about yours, I have doubts, just try and never get tired !
| Print article | This entry was posted by karim2k on March 1, 2004 at 4:03 pm, and is filed under Uncategorized. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
No trackbacks yet.
Comments are closed.

about 5 years ago
it is making me think twice about it