Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


Grant Update Permission


Grant Update Permission

Author
Message
shers
shers
Forum God
Forum God (16K reputation)Forum God (16K reputation)Forum God (16K reputation)Forum God (16K reputation)Forum God (16K reputation)Forum God (16K reputation)Forum God (16K reputation)Forum God (16K reputation)Forum God (16K reputation)

Group: Forum Members
Posts: 66, Visits: 170
Hi,

How do I grant update permission to a user to one column of one table?
When he updates the table, the error is 'The UPDATE permission was denied on the object.'

Please help.

Thanks

vb5prgrmr
vb5prgrmr
Forum God
Forum God (40K reputation)Forum God (40K reputation)Forum God (40K reputation)Forum God (40K reputation)Forum God (40K reputation)Forum God (40K reputation)Forum God (40K reputation)Forum God (40K reputation)Forum God (40K reputation)

Group: Forum Members
Posts: 167, Visits: 786
Most All DBMS systems that I know of do permission locking on objects, and a table is an object while a field is only a part of what describes that object. So to grant permission on a single field is not normally a possible or viable possibility. Hence, my recommendation to use a stored proceedure if you are using SQL Server, Oracle, or any other high end database and if so I would suggest you go to another forum like dbforums.com or tek-tips.com. If using Alpha, MS Access, DBase, Fox Pro, then you may have to enforce this rule via your code.

Good Luck

shers
shers
Forum God
Forum God (16K reputation)Forum God (16K reputation)Forum God (16K reputation)Forum God (16K reputation)Forum God (16K reputation)Forum God (16K reputation)Forum God (16K reputation)Forum God (16K reputation)Forum God (16K reputation)

Group: Forum Members
Posts: 66, Visits: 170
I'm using SQL Server Express.

The user is one among the BUILTIN/Users.

Thanks

MaslowB
MaslowB
Forum God
Forum God (9.5K reputation)Forum God (9.5K reputation)Forum God (9.5K reputation)Forum God (9.5K reputation)Forum God (9.5K reputation)Forum God (9.5K reputation)Forum God (9.5K reputation)Forum God (9.5K reputation)Forum God (9.5K reputation)

Group: Forum Members
Posts: 55, Visits: 63
try grant update to [username] on [tablename]

Vb.net 2005, Teradata, Sql Server 2005, mainframe automation
GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search