Apply TDE on database SQL Server success, but later show not encrypted - sql-server

I would like to ask about encryption M.S SQL Server 2016.
I have applied encryption on database production long time, but a few months later
It show status not encrypted.
What happen to it?
Note
Table sys.dm_database_encryption_keys" no database in this table
Table sys.certificates" have certificate name
Table sys.databases" have database name in this table
Thank you so much for your kindly help.

Related

Ms Access with a linked SQL Server

I have MS Access which is linked to SQL Server
I'm typing on a keyboard with Kurdish Central layout.
Data in SQL Server is no problem, but in MS Access it's showing a column as
#Deleted
This problem is only in Kurdish.
What is the solution to this problem?
Thanks for everything ...
I don't believe this has ANY relevance in regards to the language used.
Make sure the server table has a PK id, and also add a row version column to the sql server table. (row version is called timestamp - but has ZERO to do with time - worlds worst name in history for a column type in sql server).
So, ensure the sql table has a PK column defined, and also that timestamp column. Now, rel-link the access table and try again.

how to insert encrypted column data in SQL Server / SQL Azure

I have 2 (DB1,DB2) databases in SQL Azure.
DB1.Customer
DB2.Customer
Each has column called Surname which is column encrypted.
I want to insert records from DB1.Customer to DB2.Customer. I initially tried a Data Compare tool, but it omitted the encrypted column ie "Surname". Is my only way to do this, is to decrypt "Surname", recompare, insert data, re-encrypt "Surname" column for both DBs, or is there another way to avoid decryption.
I have also tried:
1) SSMS / Tasks/ Generate Scripts / Advanced / Data only but the encrypted data is shown as "binary" in the SQL.
Thanks in advance.
I think this is refer to Migrate Sensitive Data Protected by Always Encrypted.
The following table shows the recommended settings appropriate for several migration scenarios.
Hope this helps.

Unable to migrate data from sql server to aurora Mysql DB using AWS data migration service

I am unable migrating data from SQL server to aurora MySQL DB using AWS DMS service. Currently, I have a different number of columns for a particular table in MySQL DB due to which I am unable to transfer data from SQL server to aurora MySQL DB.
Please check the below image for reference.
As the picture suggests, I want to transfer data from booking table in SQL server to booking table in aurora Mysql DB having less number of columns.
Can anyone suggest a way to do it?
There may be a way to cope with this directly from AWS without having to change your schema. But, one option here would be to simply create a table in MySQL which matches the column/type count of the counterpart in SQL Server, i.e.
CREATE TABLE booking (bookingID int, bookingVersion int, ...) -- 7 columns
Then, migrate the data from SQL Server to MySQL using the AWS tool. Finally, just drop the bookingVersion column from your MySQL table:
ALTER TABLE booking DROP COLUMN bookingVersion;
This should work, because all the extra DML steps I suggested can completely be done within MySQL, and don't involve your SQL Server database at all.

Encrypt an existing SQL Server table column

Is there a way I can encrypt an existing column in a SQL Server table without changing any other systems which uses this column? I am on SQL Server 2005.
I guess it's possible in Oracle like this (after enabling Transparent Data Encryption)
ALTER TABLE employees
MODIFY (salary ENCRYPT USING '3DES168');
You can encrypt the data using PHP functions or any other scripting library functions and store them in the MySQL database. I hope this helps.

Sql Server 2008 >> msdb.dbo.sysmail_sentitems

Can anyone please tell me the name of Master table used by sqlserver 2008 to store dbmail information?
I tried to truncate "sysmail_sentitems" table but it gives me foreign key constraint violation error. Please reply if anyone knows.
You are trying to truncate sysmail_sentitems which is a view, I doubt that possible.
Master table used by sqlserver 2008 to store dbmail information is msdb.dbo.sysmail_mailitems.
I navigate through SP_Helptext sysmail_sentitems which give another view sysmail_allitems. Using SP_Helptext sysmail_allitems gives me a table sysmail_mailitems.
I think sysmail_mailitems is the table which you need.

Resources