azure查询编辑器 - 连接到master数据库 [英] azure query editor - connect to master database

查看:113
本文介绍了azure查询编辑器 - 连接到master数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于端口问题,我目前无法使用SSMS连接到我的Azure SQL数据库。我被告知直接从azure门户使用查询编辑器。它不是理想的,因为它不会显示我的表,但现在会这样做。

I cannot currently use SSMS to connect to my Azure SQL database due to a port issue. I have been told to use the query editor directly from the azure portal. It's not ideal as it does not display my tables but will do for now.

但是,我需要为将使用SQL身份验证登录的外部人员创建一个新的登录名和用户。我通常会在SSMS中进入MASTER数据库并使用密码创建登录,然后创建用户等。

However, I need to create a new login and user for an external person who will log in using SQL authentication. I would normally go into the MASTER database in SSMS and create login with password and then create a user etc.

这是否可以在Azure中的查询编辑器中进行?我使用管理员角色登录并尝试使用master数据库进行查询,但被告知我无法从Azure切换到master数据库。这是正确的吗? 

Is this possible in the query editor within Azure? I logged in with an admin role and tried to use the master database for my query but was told that I could not switch to the master database from Azure. Is that correct? 

由于此人是外部的,我无法使用活动目录来帮助我。

As this person is external I cannot use active directory to help me.

James

推荐答案

Hello,



打开SSMS,在对象资源管理器窗口中/面板展开Databases文件夹,直到您看到master数据库。右键单击
,然后选择"新查询"。现在您将连接到主数据库。



您无法通过更改可用数据库的组合框或尝试使用USE语句进行切换来使用查询编辑器在SQL Azure数据库之间切换。



希望这会有所帮助。





问候,

Alberto Morillo

SQLCoffee.com

Alberto Morillo
SQLCoffee.com


这篇关于azure查询编辑器 - 连接到master数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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