• Lowell (3/13/2014)


    Basically its a find and replace operation... you can select definition from sys.sql_modules to get the CREATE PROC statements but you need to change it to alter and add with encryption in the right.place.

    Probably easier in a real text editor so id script outnall thenprocsnand do that in editplus or notepad++

    Thanks Lowell,

    I have to do that in all the times, means i have to prepare more that 2 times in a month, for that is there any one time script, so i can execute that procedure in the selected database and i will get all the encrypted procedures.

    Thanks,