[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 namedlogin1and 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
USEcommand 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_loginsandsys.databasesviews 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 ...
随机推荐
- Arduino和C51开发光敏传感器
技术:51单片机.Arduino.光敏传感器.PCF8591.AD/DA转换 概述 本文介绍了如何接收传感器的模拟信号和如何使用PCF8591 AD/DA转换模块对光敏传感器的模拟信号进行转换.讲 ...
- java开发微信模板消息推送
发布时间:2018-12-12 技术:springboot+maven 概述 该demo主要涉及微信模板消息推送功能, 详细 代码下载:http://www.demodashi.com/dem ...
- 轻量级桌面 openbox + tint2 + conky + stalonetray + pcmanfm + xcompmgr
openbox+tint2+pnmixer+conky=轻量级archlinux桌面环境设置备忘 缘起 机器上的Ubuntu 12.04有一段时间没有使用了,最近在用的时候发现频繁死机的情况,开始以为 ...
- sqlserver的convert函数
定义和用法 CONVERT() 函数是把日期转换为新数据类型的通用函数. CONVERT() 函数可以用不同的格式显示日期/时间数据. 语法 CONVERT(data_type(length),dat ...
- CASE WHEN 及 SELECT CASE WHEN的用法(写了一坨烂代码发现两条sql就行了, 哎)
转自:http://blog.sina.com.cn/s/blog_4c538f6c01012mzt.html Case具有两种格式.简单Case函数和Case搜索函数. 简单Case函数 CASE ...
- Python的多线程技巧
使用多线程可以加快程序运行速度. 遍历占用cpu不高,单线程跑程序占用的CPU很少. 多线程则是CPU占用多,内存占用少了. [一个实例]:multi_process.py ### multi_pro ...
- JavaScript调用App原生代码(iOS、Android)通用解决方案
实际场景 场景:现在有一个H5活动页面,上面有一个登陆按钮,要求点击登陆按钮以后,唤出App内部的登录界面,当登录成功以后将用户的手机号返回给H5页面,显示出来.这个场景应该算是比较完整的一次H5中的 ...
- Instagram/IGListKit 实践谈(UICollectionView框架)
简单介绍 IGListKit是Instagram推出的新的UICollectionView框架,使用数据驱动,旨在创造一个更快更灵活的列表控件. github地址:https://github.com ...
- Redis学习之路(000)- 目录
本文是博主学习整理网上大神的文件以及自学的心得. Redis学习之路(000)- 目录 Redis学习之路(001)- Redis介绍以及安装(Linux) Redis学习之路(002)- Ubunt ...
- Fusion-io ioDrive Duo Enterprise PCIe Review
原文地址:http://www.storagereview.com/fusionio_iodrive_duo_enterprise_pcie_review As part of StorageRevi ...