Encrypting Views
Description :
In Developing a commercial product, odds are that you're interested in protecting your source code. We can see taht using Views
// Use Northwind database
CREATE VIEW CustOrders
WITH ENCRYPTION //this will encrypt your Views
as
select * from customers
exec sp_helptext CustOrders //Now execute the View
Output:
The object comments have been encrypted.