Događaji
M03 31 23 - M04 2 23
Najveći događaj učenja jezika SQL, platforme Fabric i platforme Power BI. 31. mart - 2. april Koristite kod FABINSIDER da uštedite 400 dolara.
Registrirajte se danasOvaj preglednik više nije podržan.
Nadogradite na Microsoft Edge da iskoristite najnovije osobine, sigurnosna ažuriranja i tehničku podršku.
Applies to:
SQL Server
Azure SQL Database
Azure SQL Managed Instance
Azure Synapse Analytics
Analytics Platform System (PDW)
This topic describes how to create a database master key in SQL Server by using Transact-SQL.
Requires CONTROL permission on the database.
Choose a password for encrypting the copy of the master key that will be stored in the database.
In Object Explorer, connect to an instance of Database Engine.
Expand System Databases, right-click master
and then click New Query.
Copy and paste the following example into the query window and click Execute.
-- Creates the master key.
-- The key is encrypted using the password "23987hxJ#KL95234nl0zBe".
CREATE MASTER KEY ENCRYPTION BY PASSWORD = '23987hxJ#KL95234nl0zBe';
For more information, see CREATE MASTER KEY (Transact-SQL).
Događaji
M03 31 23 - M04 2 23
Najveći događaj učenja jezika SQL, platforme Fabric i platforme Power BI. 31. mart - 2. april Koristite kod FABINSIDER da uštedite 400 dolara.
Registrirajte se danasObučavanje
Put učenja
Implement a secure environment for a database service - Training
Implement a secure environment for a database service
Certifikacija
Microsoft Certified: Azure Database Administrator Associate - Certifications
Administer an SQL Server database infrastructure for cloud, on-premises and hybrid relational databases using the Microsoft PaaS relational database offerings.
Dokumentacija
Back Up the Service Master Key - SQL Server
Learn how to back up the service master key in SQL Server by using Transact-SQL. The service master key is the root of the encryption hierarchy.
OPEN MASTER KEY (Transact-SQL) - SQL Server
OPEN MASTER KEY (Transact-SQL)
ALTER MASTER KEY (Transact-SQL) - SQL Server
ALTER MASTER KEY (Transact-SQL)