Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

prevent users from deleting data

Status
Not open for further replies.

asafb

Programmer
Jun 17, 2003
80
US
hello i have an access adp projected connected to my sql server.

how can i setup a logon that lets them do everything except DELETE DATA

thanks

asaf
 
Usually I execute this statement first

select 'deny delete on ['+name+'] to Loginame'+char(10)+'go'+char(10) from sysobjects where type = 'u'

Then copy the output in the result panal,paste in QA,then execute at one time.
You could execute deny delete on all the user table to certain login.
But if that user table belongs to that login,you cant do anything about that
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top