|
老兄你好过分。自己研究BOL不可以啊,上网找资料不可以啊?
The definition of a sensitive view can be encrypted to ensure that its definition cannot be obtained by anyone, including the owner of the view, by using the WITH ENCRYPTION option when the view is created.
--Creating an Encrypted View
CREATE VIEW vwEncrypted
WITH ENCRYPTION
AS
SELECT CompanyName AS C, ContactName AS CN
FROM Customers AS CL
Once the view is created, its definition will be unreadable。 Therefore, make sure that you save your view definition in a script file in case you ever need to modify it |
|