Is there a way to create a constraint that prevents updates in a SQL Server 2012 database table? -


i creating application track hours employees. ideally, hr has asked tables not modified once data commited. done enough front-end , stored procedures. however, great able prevent server through constraints folks have access back-end data can't change values in selected tables (unless sneaky enough know how disable constraints).

if trust sql server admins it’s possible. have admin create users don’t have datawriter permissions tables or schema.

so, application write data database , users have access tables able read data.

if don’t want admins have ability modify data that’s not possible. there no way prevent there way detect if happens. check out this article details on details how done in third party application , see if helps.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -