复制Azure SQL数据库和权限错误!! [英] Copying Azure SQL Database and permission error !!

查看:87
本文介绍了复制Azure SQL数据库和权限错误!!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

全部,

我尝试将Azure SQL数据库从我们的Production Azure SQL实例复制到我们的Azure SQL QA实例上,但是我收到以下错误。

I tried copying the Azure SQL Database from our Production Azure SQL instance onto our Azure SQL QA instance but I'm getting the below error.

消息45137,级别16,状态1,行2

在服务器上创建数据库副本的权限不足 azuresqlvmprod2 '。

Insufficient permission to create a database copy on server 'azuresqlvmprod2'.

为什么我收到此错误以及为什么我在QA实例上运行此错误时会在生产实例上出现此错误?

CREATE
数据库 web_Front_Prod2    AS COPY
OF azuresqlvmprod2 web_Front
SERVICE_OBJECTIVE
=
'S2'  
;

CREATE DATABASE web_Front_Prod2  AS COPY OF azuresqlvmprod2.web_Front ( SERVICE_OBJECTIVE = 'S2' )  ;

grajee

grajee

推荐答案

我认为消息"创建数据库副本的权限不足"表示您没有权利创建复制操作,而不是创建数据库本身。使用
连接到目标服务器以运行命令的帐户也必须在源服务器上使用相同的用户名和密码。
I believe that the message "Insufficient permission to create a database copy " is indicating you don;t have hte right permissions to create the copy operation, not to create the DB itself. The account you connect to the destination server with to run the command must also exist on the source server with the same username and password.


这篇关于复制Azure SQL数据库和权限错误!!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆