Encrryption on views, how to search ?

  • HI,

    I have a heap of views, I have turned encryption ON on some of them, is there a SELECT statement I can use on system table that will give me a list of views that I have encrypted, cause I have forgotten which ones i did (ha) !

    Thanks

  • Select O.name from dbo.SysObjects O inner join dbo.SysComments C on O.id = C.id where C.Encrypted = 1 and O.XType = 'V'

  • Thanks worked fine !

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply