SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 prevent deleting in a table
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ashraf_al_ani
Starting Member

2 Posts

Posted - 12/01/2012 :  15:42:23  Show Profile  Reply with Quote
Dear all
i am using sql server 2000 personal edition in windows 7
i am using access project (front end access) back end (sql server2000)
please is there a way to preven a user from delete any record in a table calles item?
best regards

sodeep
Flowing Fount of Yak Knowledge

USA
7174 Posts

Posted - 12/01/2012 :  19:22:08  Show Profile  Reply with Quote
Deny delete on <tablename> to <username>
Go to Top of Page

ashraf_al_ani
Starting Member

2 Posts

Posted - 12/02/2012 :  14:27:35  Show Profile  Reply with Quote
thanks for responding
but please can you give me the details how can i deny delete to user name

Go to Top of Page

sodeep
Flowing Fount of Yak Knowledge

USA
7174 Posts

Posted - 12/02/2012 :  19:41:25  Show Profile  Reply with Quote
Run above statement and replace tablename and username with original.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000