Solved

CREATE DATABASE ENCRYPTION KEY

Posted on 2016-11-06
1
79 Views
Last Modified: 2016-11-09
Hi experts

i have execute this code
USE master;
ALTER DATABASE ConfidentialDB
SET ENCRYPTION ON;

whats the mean?
i execute this select
SELECT * FROM ConfidentialDB.dbo.SecretKeys
i can view the data,

which means that the db this encrypted? what are the advantages? although the bd is encrypted I can see the data in the table
0
Comment
Question by:enrique_aeo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 28

Accepted Solution

by:
Pawan Kumar earned 500 total points
ID: 41876147
Someone takes your log file, data file or back up file and take it any where so in order to make it safe we do Transparent Data Encryption.

Transparent Data Encryption (TDE) encrypts SQL Server data and log files. It performs real-time I/O encryption and decryption of the data and log files. It uses a database encryption key (DEK), which is stored in the database boot record for availability during recovery.

You can check your files @ depending on the version-

C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA
C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Log

Read more here -

https://msdn.microsoft.com/en-us/library/bb934049.aspx
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sql query help 15 52
Find unused columns in a table 12 70
Open A Form without Loading All the Records of Its Recordsource 6 45
IF SQL Query 12 28
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question