|
Log in | ||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Why can't I understand this?
Ad Franse NexusDB: Query26344411: Query execution failed: Unexpected exception object raised: [Exception] The table "folder" cannot be dropped. It is referred to from the table "mail" [$3CA1/15521] create a new database, execute the following code in EM 2.06.01 with server 2.06.01 or 2.06.02 (dayly 04.05.2007) drop table if exists folder; create table folder ( folder_id autoinc primary key ); drop table if exists mail; drop table if exists mail_folder; create table mail_folder ( mail_folder_id autoinc primary key ); drop table if exists mail; create table mail ( mail_id autoinc primary key, mail_folder_id integer references mail_folder (mail_folder_id) ); |
|
#2
|
|||
|
|||
|
Ad Franse wrote:
> Why can't I understand this? > Ad Franse > > NexusDB: Query26344411: Query execution failed: > Unexpected exception object raised: [Exception] The table "folder" > cannot be dropped. It is referred to from the table "mail" > [$3CA1/15521] There is referential integrity in place linking folder and mail. It needs to be removed first. -- |
|
#3
|
|||
|
|||
|
>> NexusDB: Query26344411: Query execution failed: >> Unexpected exception object raised: [Exception] The table "folder" >> cannot be dropped. It is referred to from the table "mail" >> [$3CA1/15521] > > There is referential integrity in place linking folder and mail. It > needs to be removed first. Yes, that's what I understand. this is folder : create table folder ( folder_id autoinc primary key ); this is mail: create table mail ( mail_id autoinc primary key, mail_folder_id integer references mail_folder (mail_folder_id) ); I think that it is referring to mail_folder not folder what do you think ? Ad Franse |
|
#4
|
|||
|
|||
|
> Unexpected exception object raised: [Exception] The table "folder"
> cannot be dropped. It is referred to from the table "mail" > [$3CA1/15521] Yeah, something is wrong here, issue #2431. -- Eivind Bakkestuen Nexus Database Systems Pty Ltd |
|
#5
|
|||
|
|||
|
I confirm that today's snapshot solves this problem.
Thanks ! Ad "Eivind Bakkestuen [NDD]" <Ieivind.bakkestuenHATE@nexusdb.comSPAM> wrote in message news:463c447c@wic040d.... >> Unexpected exception object raised: [Exception] The table "folder" >> cannot be dropped. It is referred to from the table "mail" >> [$3CA1/15521] > > Yeah, something is wrong here, issue #2431. > > -- > > Eivind Bakkestuen > Nexus Database Systems Pty Ltd > |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cannot open Table "@Table" | airslash | nexusdb.public.support.adoprovider | 6 | 20th February 2010 06:17 PM |
| Unable to Resolve Identifier "O"."ProspRef" | Ken Randall | nexusdb.public.support.sql | 4 | 30th January 2007 04:56 AM |
| 2.0.599r3: Query that should work returns Unable to resolve the identifier"#t1"."ContratoId" | =?ISO-8859-1?Q?=22Rodrigo_G=F3mez_=5BNDX=5D=22?= | nexusdb.public.support.sql | 2 | 4th November 2006 12:03 PM |
| SQL query to search on a field that is "similar to a set" or "mask"? | J Tabor | nexusdb.public.support.sql | 2 | 10th May 2006 02:20 PM |
| Announcment! "The Keep" ver 2.0.0.1 and "Po Boy Application LifeCycle Management Utility" ver 1.0.0.l are now both available for free download! | Robert Meek | nexusdb.public.support.thirdparty | 1 | 11th July 2004 10:23 AM |