Stored Procedure Encryption

SQL Server stored procedures can be encrypted when they are shipped as part of a product. To Encrypt the SQL Server Stored Procedures so they cannot be read by anyone/client/developer/dbo, use the WITH ENCRYPTION with the procedure definition. Consider for example

CREATE PROCEDURE CustomerSample WITH ENCRYPTION

AS

PRINT ‘This is an Encrypted Procedure’

GO

I am looking forward to writing and Debugging Stored Procedures using the Visual Studio 2005.

Advertisements