Groups | Blog | Home
all groups > sql server new users > january 2007 >

sql server new users : Delete records permission


Max
1/5/2007 10:24:38 AM

Hello,

I have a couple of tables in a SQL Server 2005 database back end and I want to delete some records through a query from a MS
Access 2003 front end. I get an error in MS Access saying "Could not delete from specified tables". There are multiple users of the
back end and each one logs in to SQL Server using Windows Authentication. Each user has the db_datareader and db_datawriter
permissions checked for the database role membership. SELECT queries work and I can see the contents of the tables but the DELETE
query cannot run from MS Access. I have a feeling I need to set up more permissions. Does anyone know how to get this working?

Cheers,
Max.
Joe Yong
1/5/2007 10:32:31 AM
Check to ensure nobody else is accessing the table including the user trying
to perform the delete (open query in some other window).


joe.

[quoted text, click to view]

Max
1/5/2007 1:53:35 PM

No one else is accessing the table as the database system is not live yet.
I tried SELECT, UPDATE and INSERT and they all work.

Cheers,
Max.



[quoted text, click to view]
Andrew J. Kelly
1/6/2007 5:00:34 PM
Do you have a valid PK constraint on the tables? Have you used profiler to
see what is happening?

--
Andrew J. Kelly SQL MVP

[quoted text, click to view]
AddThis Social Bookmark Button