Can Symmetric keys be used in a view?

Answered Can Symmetric keys be used in a view?

  • Wednesday, October 28, 2009 11:15 AM
     
      Has Code
    Is there anyway to use a summetric key from within a view definition?

    I know how to use in a stored procedure, you basically need to issue the open key command:

    OPEN SYMMETRIC KEY MyKey 
    	DECRYPTION BY CERTIFICATE MyCertificate


    But how to replicate this within a view...

    Regards
    Dave

All Replies

  • Wednesday, October 28, 2009 11:32 AM
     
     Answered
    Sorry, this is completely in the wrong forum.  More speed less haste :-)
    • Marked As Answer by york0001 Wednesday, October 28, 2009 11:32 AM
    •