J
Joey
Hi. I'm trying to set up a query that will delete my
import error tables. I've managed to find the tables,
using the following SQL:
SELECT MsysObjects.Name
FROM MsysObjects
WHERE ( [Type] = 1 AND ([Name] Like "*ImportErrors*"));
My problem now, is getting the tables to delete from
MsysObjects. I have the following SQL written for that:
DELETE TABLE
FROM MsysObjects
WHERE (((MsysObjects.Name) Like "*ImportErrors*") AND
((MsysObjects.Type)=1))
WITH OWNERACCESS OPTION;
Running the above SQL gives me an error saying I don't
have delete permission on MsysObjects. I am the creator
of the database, so I'm confused as to whether the problem
is with my syntax or my permissions. Any help would be
appreciated.
Thanks!
import error tables. I've managed to find the tables,
using the following SQL:
SELECT MsysObjects.Name
FROM MsysObjects
WHERE ( [Type] = 1 AND ([Name] Like "*ImportErrors*"));
My problem now, is getting the tables to delete from
MsysObjects. I have the following SQL written for that:
DELETE TABLE
FROM MsysObjects
WHERE (((MsysObjects.Name) Like "*ImportErrors*") AND
((MsysObjects.Type)=1))
WITH OWNERACCESS OPTION;
Running the above SQL gives me an error saying I don't
have delete permission on MsysObjects. I am the creator
of the database, so I'm confused as to whether the problem
is with my syntax or my permissions. Any help would be
appreciated.
Thanks!