[Windows Azure] Guidelines for Connecting to Windows Azure SQL Database
Guidelines for Connecting to Windows Azure SQL Database
Microsoft Windows Azure SQL Database works with third-party applications, open source, and many familiar Microsoft applications, such as WCF Data Services, ODBC, and ADO.NET.
For solutions to common customer problems with Windows Azure SQL Database, SQL Server Data Tools, and SQL Server Management Studio, see Database Lifecycle Management.
The following is a list of general considerations that apply for any connection to Windows Azure SQL Database:
- The Windows Azure SQL Database service is only available with TCP port 1433. To access a SQL Database database from your computer, ensure that your firewall allows outgoing TCP communication on TCP port 1433.
- Before you can connect to your SQL Database server for the first time, you must use the Windows Azure Platform Management Portal to configure the SQL Database firewall. You will need to create a server-level firewall setting that enables connection attempts from your computer or Windows Azure to SQL Database server. Further, if you want to control access at the database level in your SQL Database server, you must create database-level firewall rules for the required databases. For more information, see Windows Azure SQL Database Firewall, How to: Configure the Server-Level Firewall Settings (Windows Azure SQL Database), and How to: Configure the Database-Level Firewall Settings (Windows Azure SQL Database).
- Because some tools implement tabular data stream (TDS) differently, you may need to append the SQL Database server name to the login in the connection string using the
<login>@<server>
notation. In these cases, separate the login and SQL Database server name with the@
symbol. For example, if your login was namedlogin1
and the fully qualified name of your SQL Database server isservername.database.windows.net
, the username parameter of your connection string should be:login1@servername
. This restriction places limitations on the text you can choose for the login name. For more information, see CREATE LOGIN (Windows Azure SQL Database). - If you do not specify a database in the connection string, you will be connected to the master database.
- The Transact-SQL
USE
command is not currently supported for switching between databases. Establish a connection directly to the target database. - Not all embedded Transact-SQL statements are supported by Windows Azure SQL Database. Some statements that are supported in Windows Azure SQL Database may not support all of the same optional parameters as SQL Server 2008. For more information about Transact-SQL support in Windows Azure SQL Database, see Transact-SQL Support (Windows Azure SQL Database).
- You must connect to the master database to create logins and databases. The master database also has the
sys.sql_logins
andsys.databases
views that you can use to view logins and databases, respectively. For more information, see Managing Databases and Logins in Windows Azure SQL Database. - Windows Azure SQL Database does not support Windows Authentication. Use SQL Server authentication in your connection string.
- Connecting to Windows Azure SQL Database by using OLE DB is not supported.
- Windows Azure SQL Database does not support distributed transactions, which are transactions that affect several resources. For more information, see General Guidelines and Limitations (Windows Azure SQL Database).
- Windows Azure SQL Database provides a large-scale multi-tenant database service on shared resources. In order to provide a good experience to all Windows Azure SQL Database customers, your connection to the service may be closed. For more information, see Connection Constraints and Connection Management in SQL Database article in the TechNet Wiki.
See Also
Tasks
How to: Connect to Windows Azure SQL Database Through ASP.NET
How to: Connect to Windows Azure SQL Database Through WCF Data Services
How to: Connect to Windows Azure SQL Database Using PHP
Concepts
Development (Windows Azure SQL Database)
Development: How-to Topics (Windows Azure SQL Database)
Tools and Utilities Support (Windows Azure SQL Database)
How to: Connect to Windows Azure SQL Database Using sqlcmd
How to: Connect to Windows Azure SQL Database Using ADO.NET
Other Resources
[Windows Azure] Guidelines for Connecting to Windows Azure SQL Database的更多相关文章
- [Windows Azure] Development Considerations in Windows Azure SQL Database
Development Considerations in Windows Azure SQL Database 3 out of 5 rated this helpful - Rate this t ...
- 【数据库-Azure SQL Database】如何创建事务复制将本地数据同步到 SQL Azure
Azure SQL DB 可以被配置成为 SQL Server 事务复制的一个订阅者( subscriber ). 主要应用场景有两种: 将您的数据迁移到 Azure SQL DB, 并且没有宕机时间 ...
- [Windows Azure] Managing SQL Database using SQL Server Management Studio
Managing Windows Azure SQL Database using SQL Server Management Studio You can use Windows Azure SQL ...
- [Windows Azure] How to Create and Configure SQL Database
How to Create and Configure SQL Database In this topic, you'll step through logical server creation ...
- [Windows Azure] Windows Azure SQL Database library
Microsoft Windows Azure SQL Database extends SQL Server capabilities to the cloud. SQL Database offe ...
- [Windows Azure] Getting Started with Windows Azure SQL Database
In this tutorial you will learn the fundamentals of Windows Azure SQL Database administration using ...
- Windows Azure 将正式更名为 Microsoft Azure
微软的公共云平台在2014年4月3日正式从Windows Azure 更名为Microsoft Azure. windows azure是二级产品名,microsoft azure是一级产品名,和mi ...
- Windows Azure Virtual Machine 之用程序控制Azure VM
我们在很多时候可能会需要用程序来控制VM的创建,删除工作. 而在这些工作之中,用程序创建一个VM将会是一个非常复杂的过程,因为他涉及到很多步骤. 具体步骤如下 1 创建一个Hosted cloud s ...
- How to Use Lucene.NET with Windows Azure SQL Database
http://social.technet.microsoft.com/wiki/contents/articles/2367.how-to-use-lucene-net-with-windows-a ...
随机推荐
- QQ登录整合/oauth2.0认证-04-调整到QQ互联进行QQ登录
---------------------------------目录------------------------------------- QQ登录整合/oauth2.0认证-03-对第二节的代 ...
- PCRE函数简介和使用示例【转】
PCRE函数简介和使用示例 标签: 正则表达式listbuffercompilationnullperl 原文地址:http://blog.csdn.net/sulliy/article/detail ...
- syslog远程日志存储/514端口【转】
昨天在抓包的时候,发现在514端口,有SYSLOG字段的东西,不知道是用来干啥的,现在来分析一下: 其实他是在电脑间用了syslog远程日志存储,他用udp监控了514端口的数据流,之后收集整理日志: ...
- 系统监控nagios–安装
安装:环境:CentOS6.0 32bit 1.先相关软件包 yum install httpd php gcc glibc glibc-common gd gd-devel make 2.创建用户信 ...
- Linux主要shell命令详解(上)
[摘自网络] kill -9 -1即实现用kill命令退出系统 Linux主要shell命令详解 [上篇] shell是用户和Linux操作系统之间的接口.Linux中有多种shell,其中缺省使用的 ...
- SQL如何获得本季度第一天、一年的第一天、本月的最后一天
nterval 参数,具有以下设定值: 设置 描述 Year yy, yyyy 年 quarter qq, q 季 Month mm, m 月 dayofyear dy, y 一年的日数 Day dd ...
- AaronYang的留言板
^_^很开心能在这里遇到你,我是ay,英文名叫aaronyang,真名叫杨洋,安徽六安的,有老乡吗?这里的文章几乎都是我原创的,要不然就是收集别人的好的文章,自己再整理下与大家分享.绝对希望原创,本站 ...
- Smarty标签 for运算
$select="SELECT {$col_name} FROM woke_order where deleted=0 ".$where.$orderby ; // 取出数组 $r ...
- Oracle 12C -- 使用local PDB克隆新的PDB
1.将用于克隆的PDB至于只读状态:startup open read only SQL> select con_id,name,open_mode from v$pdbs; CON_ID NA ...
- MySQL数据库知识点整理 (持续更新中)
一.修改用户密码 格式(在命令行下输入):mysqladmin -u 用户名 -p旧密码 password 新密码 1. 给root添加密码ab12: mysqladmin -uroot -pass ...