Quote:
Originally posted by coubs
Thanks for the reply, here are my findings:
1 & 2). I already dropped the user cascade, several times, I also made new never before used users to ensure there are no objects owned by it.
3-6). The table DOES get created, although it is on the USERS tablespace and that is not wanted, the rows go in also and the index (the create index staement - in this case for PK_ACTIVITY) for the primary key is created BUT the import then errors on the alter table add constraint PK_ACTIVITY.
So, I get the table and the index for the primary key but not the primary key constraint. Note that the create index PK_ACTIVITY and alter table add constraint PK_ACTIVITY use the same object name of PK_ACTIVITY. This always the case as Oracle makes the create unique index when you add a primary key using an alter table command. All the tables that do import fully have the same scenario (the index and pkey name are the same) but only the ACTIVITY table and it's index and pkey are going to the USERS tablespace and it says the pkey is already there. BUT, like I said the ACTIVITY table is there, the index PK_ACTIVITY is there but there is NO primary key constraint on the table?
?
If I am right, you have 3 problems. 1. You dont want objects to be created in USERS tablespace. 2. Your primary key is not getting created. 3. You are not sure about the concepts behind export and import.