Sql-server – SP with Encryption Read/Writes Stats

encryptionindex-statisticssql serverstored-procedures

If a stored procedure in SQL Server 2005 is created with the syntax "WITH ENCRYPTION" ,are the reads and writes of the encrypted stored procedure recorded in the sys.dm_db_index_usage_stats? I am calculating reads by using the user_seeks + user_scans + user_lookups columns and the writes by using the user_updates column of this DMV. Thanks

Best Answer

Tested it out myself and yes the stats are counted from an encrypted stored procedure if anyone else is looking for the answer.