Grant create but Deny delete

  • How can I grant create and deny deletes on a database?

    I ran this but they cannot create..

    use [Your_Database]

    GO

    GRANT INSERT TO [Your_User]

    GO

    use [Your_Database]

    GO

    GRANT SELECT TO [Your_User]

    GO

    use [Your_Database]

    GO

    GRANT UPDATE TO [Your_User]

    GO

    use [Your_Database]

    GO

    DENY DELETE TO [Your_User]

    GO

    ¤ §unshine ¤

  • should work...let me try this out..

  • I found it...

    GRANT CREATE TABLE TO user

    GO

    GRANT CREATE VIEW TO user

    GO

    Thank you so much for your response!

    ¤ §unshine ¤

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply