Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / database / SQL-Server / SQL-Server-2008

Connectivity to SQL Azure in Microsoft SQL Server 2008 R2 November CTP

0.00/5 (No votes)
17 Nov 2009CPOL1 min read 15.7K  
Microsoft SQL Server 2008 R2 November CTP - Database Engine feature #1

Introduction

I'm enjoying the weekend, with Microsoft SQL Server R2 November CTP and its new features from Database engine features to Analysis Services features, Reporting Service features, etc...

I'll post a series about those features en shaaa ALLAH in the next days, but let's begin with Database engine features #1 connectivity to SQL Azure: what's SQL Azure? is a cloud-based relational database service built on SQL ServerĀ® technologies. To learn more about SQL Azure press here

Background

First you need to have Microsoft SQL Server R2 November CTP, get all about it from here and SQL Azure account (I got it from Microsoft Connect)

How to connect to SQL Azure

1

Open SSMS, and using your Azure account (Server name, username and password) try to login

2

And if it's your first time to use SQL Azure you'll get that

2

Then you should configure SQL Azure to accept connections from your IP, go to https://ctpportal.database.windows.net/ and select your project or create a new one

2

Select firewall settings to set your IP allowed to Access SQL Azure

4

Enter the rule name make it meaningful to be easy for your to manage, IP range, here's I select my IP I don't want anyone to access else me

5

Important note, don't run to SSMS to login, it just take some minutes from 2-5 minutes to apply changes.

6

Try now

7

Congrats, you're now connected -have problem till now?- please contact me Open new query window, create database, objects using T-SQL... you just need to create your database

9

Then close this query window to create objects inside "FirstDatabase" database you should refersh server databases and select "FirstDatabase" then new query Window, because USE Database not supported.

10

1112

History

Version 1.0 submitted 17th November 2009.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)