Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 SQl permission

Author  Topic 

yadhu_cse
Constraint Violating Yak Guru

252 Posts

Posted - 2011-05-23 : 08:26:35
Hi,


i want execute DML statement only throgh stored procedure . i dont want execute dml statement direclty . how to withdraw DML permission on table and how to grant permissin to stored procedure.

nigelrivett
Master Smack Fu Yak Hacker

3385 Posts

Posted - 2011-05-23 : 08:39:45
grant execute on mysp to user

And don't give the user permissions on the table - or revoke/deny them

==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

yadhu_cse
Constraint Violating Yak Guru

252 Posts

Posted - 2011-05-23 : 08:57:47
Thanks
Go to Top of Page
   

- Advertisement -