DBA > Job Interview Questions > Microsoft SQL Server FAQs

Which is larger in size in SQL Server 2005 if yo

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

Which is larger in size in SQL Server 2005 if you are using symmetric keys?

Answer
Ciphertext

Explanation
Ciphertext is larger and can be calculated using the following formula:
Size = ( FLOOR (8 + D)/BLOCK) + 1) * (BLOCK + BLOCK + 16)
where D is the data size in bytes, BLOCK is the block size (8 or 16, depending on algorithm) and Size is the new size in bytes of the ciphertext.

(Continued on next question...)

Other Job Interview Questions