[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 ...
随机推荐
- alias别名使用
rhel系列的别名使用,方便操作! 功能说明:设置指令的别名.语 法:alias [别名] = [指令名称]参 数 :若不加任何参数,则列出目前所有的别名设置.举 例 :ermao@lo ...
- MySQL Replication主从复制环境下修改主库IP
因为调整服务器子网, 数据库服务器的IP地址需要修改. 这个过程中, 需要确保的就是从库在断开主库后, 能从正确的位置再次启动. 具体的操作步骤如下 1) 需要获取的前提信息: 主库的新IP, 这在启 ...
- 在执行context.getContentResolver.query()方法时出现错误。
1. 在执行context.getContentResolver.query()方法时出现错误. 07-15 18:46:13.470: E/AndroidRuntime(13624): FATAL ...
- mysql之limit m,n
limit是mysql的语法 select * from table limit [m],n; 其中,m—— [m]为可选,如果填写表示skip步长,即跳过m条. n——显示条数.指从第m+1条记录开 ...
- 使用安全rm
rm命令像一把刀子一样,玩不好会伤到自己.不要觉得自己头脑清醒,人总有犯迷糊的时候. 在.bashrc中设置PATH=/home/me/bin/:$PATH 在自己的bin目录下,添加rm脚本mv - ...
- SoapUI利用Groovy对response与断言的处理
1.对response的处理:(其中Test Request是request的名称) def groovyUtils = new com.eviware.soapui.support.GroovyUt ...
- SpringBoot配置属性之其他
SpringBoot配置属性系列 SpringBoot配置属性之MVC SpringBoot配置属性之Server SpringBoot配置属性之DataSource SpringBoot配置属性之N ...
- PowerDesigner之PDM(物理概念模型)各种属性建立如PK,AK等
一.PDM概述 PDM(物理数据模型),通俗地理解,就是在PowerDesigner中以图形化的方式展示和设计数据库. PDM中涉及到的基本概念包括: 表: 列: 视图: 主键: 候选键: 外键: 存 ...
- python学习笔记——提取网页中的信息正则表达式re
被用来检索\替换那些符合某个模式(规则)的文本,对于文本过滤或规则匹配,最强大的就是正则表达式,是python爬虫里必不可少的神兵利器. 1 正则表达式re基本规则 [0-9] 任意一个数字,等价\d ...
- notepad++ 语法高亮
1. notepad++ 添加新语言语法高亮和加载插件 用notepad++已经很久了,很习惯用这个小东西做事情,简单方便,超实用的一款工具. 先说说在呢么添加对新的编程语言的支持吧, 添加新语言语法 ...