Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. how to encrypt and decrypt stored procedure in sql server 2000

how to encrypt and decrypt stored procedure in sql server 2000

Scheduled Pinned Locked Moved Database
databasesql-serversysadminhelptutorial
3 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    M Ramesh
    wrote on last edited by
    #1

    I want to encrypt my stored procedure. How can i do this and revert back also. anybody help..

    M 1 Reply Last reply
    0
    • M M Ramesh

      I want to encrypt my stored procedure. How can i do this and revert back also. anybody help..

      M Offline
      M Offline
      Mark J Miller
      wrote on last edited by
      #2

      Here's how to encrypt the procedure: CREATE PROCEDURE myTestProc @Id INT WITH ENCRYPTION AS SELECT @@SERVERNAME GO But you have to save the source code in a script file somewhere. There is no way to decrypt the source. Not even for sysadmin or dbowner.

      Mark's blog: developMENTALmadness.blogspot.com

      M 1 Reply Last reply
      0
      • M Mark J Miller

        Here's how to encrypt the procedure: CREATE PROCEDURE myTestProc @Id INT WITH ENCRYPTION AS SELECT @@SERVERNAME GO But you have to save the source code in a script file somewhere. There is no way to decrypt the source. Not even for sysadmin or dbowner.

        Mark's blog: developMENTALmadness.blogspot.com

        M Offline
        M Offline
        M Ramesh
        wrote on last edited by
        #3

        thanks a lot..

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups