I have 3 tables (ACCOUNT, BALANCES & ORDERS) which all have primary keys created by their own trigger/generators.
BALANCES also has a foreign key that references ACCOUNT's primary key.
ORDERS also has a foreign key that references ACCOUNT's primary key.
Everything works fine, but I cannot drop the tables.
In Interactive SQL I type :-
DROP TABLE ORDERS;
DROP TABLE BALANCES;
DROP TABLE ACCOUNT;
but I get an error telling me that table BALANCES is in use ! (It has managed to drop ORDERS) I know it has something to do with the foreign keys, but I cannot seem to drop them either.
Any ideas ?
Thanks in advance
Spencer Window (not a joke name)
spencer.window@eastmidlandcomputers.ltd.uk
BALANCES also has a foreign key that references ACCOUNT's primary key.
ORDERS also has a foreign key that references ACCOUNT's primary key.
Everything works fine, but I cannot drop the tables.
In Interactive SQL I type :-
DROP TABLE ORDERS;
DROP TABLE BALANCES;
DROP TABLE ACCOUNT;
but I get an error telling me that table BALANCES is in use ! (It has managed to drop ORDERS) I know it has something to do with the foreign keys, but I cannot seem to drop them either.
Any ideas ?
Thanks in advance
Spencer Window (not a joke name)
spencer.window@eastmidlandcomputers.ltd.uk