简体   繁体   English

Azure SQL托管实例-不支持创建凭据

[英]Azure SQL Managed Instance - Create Credential not supported

We are attempting to create a credential on our SQL Server Azure Managed instance. 我们正在尝试在SQL Server Azure托管实例上创建凭据。 The results of the script fail with message “'CREATE CREDENTIAL' is not supported in this version of SQL Server.”. 脚本的结果失败,并显示消息“此版本的SQL Server不支持'CREATE CREDENTIAL'。”。

We are creating this credential for the purpose of restoring a database from a .bak file stored in blob storage in Azure as referenced in this October 2018 post. 我们正在创建此凭据,目的是为了从2018年10月的这篇帖子中引用的从Azure的Blob存储中存储的.bak文件还原数据库的目的。

The current version for this SQL instance is: 'Microsoft SQL Azure (RTM) – 12.0.2000.8 Nov 20 2018 21:01:54 Copyright (C) 2018 Microsoft Corporation ' 该SQL实例的当前版本是:'Microsoft SQL Azure(RTM)– 12.0.2000.8 2018年11月20日21:01:54版权所有(C)2018 Microsoft Corporation'

This instance was created a couple of weeks ago with an empty database that we hoped to load from a recent backup for testing. 这个实例是在几周前使用空数据库创建的,我们希望从最近的备份中加载该空数据库进行测试。

Can you provide advise on how we can proceed with getting the credential created? 您可以提供有关如何继续创建证书的建议吗?

Thank you in advance 先感谢您

You may use the following syntax to create credential: 您可以使用以下语法来创建证书:

CREATE DATABASE SCOPED CREDENTIAL credential_name   
WITH IDENTITY = 'identity_name'  
    [ , SECRET = 'secret' ]

For more details, you may refer the similar issue discussion on GitHub issues. 有关更多详细信息,您可以参考关于GitHub问题的类似问题讨论。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 对于Azure SQL托管实例,使用SSMS GUI创建数据库失败 - Create database using SSMS GUI fails for Azure SQL Managed Instance Azure SQL Server 托管实例 - Azure SQL Server Managed Instance 如何创建可用于使用SSMS连接到Azure SQL托管实例的Azure VM? - How to create Azure VM that could be used to connect to Azure SQL Managed Instance using SSMS? 将 azure sql 数据库还原到托管实例 - Restore azure sql database to managed instance 如何使用 AzureRm.Sql PowerShell 库创建 Azure SQL 托管实例? - How to create Azure SQL Managed Instance using AzureRm.Sql PowerShell library? Azure托管实例无法创建或还原数据库 - Azure Managed instance can't create or restore DB 无论如何要在 Azure 托管实例中创建链接服务器到进度数据库? - Is there anyway to create a Linked Server in an Azure Managed Instance to a Progress Database? 如何在 Azure Sql 托管实例中删除正在使用的数据库? - How do you drop an in use database in Azure Sql Managed Instance? 如何断开与 Azure SQL 托管实例的打开连接? - How do I disconnect open connections to an Azure SQL Managed Instance? 是否可以将 azure 管理的 sql 服务数据库复制到本地实例中 - Is it possible to copy a azure managed sql service database into an on-premise instance
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM