Windows Azure Platform Powershell Cmdlets has been released and available for download at http://wappowershell.codeplex.com/releases/view/73463
It supports creating SQL Azure server, removing an existing SQL Azure server, managing the firewall and resetting the Administrator password.
For more detailed information, please visit
SQL Azure Co-Administrator option has been released in July 2011 Service Release
In this article, we will see How to add a Co-Administrator for your subscription
After logging in to Windows Azure Management Portal, click on “Database” tab
After navigating to Database section, click on “User Management” in Tool bar
In User Management screen, You can see the currently available Service Administrators and Co-Administrator for all available subscriptions
Click on “Add New Co-Admin”
In Add New Co-Administrator screen, specify the new users’ Windows Live ID and then select the subscription he can administer and then click “Ok”
Now we have successfully created a new Co-Administrator, Now he can login and create or drop servers, create or drop databases and new co-administrators as well
To remove a subscription or remove a Co-Administrator, click on Co-Administrator name and then click on “Manage Co-Admin”
If you have multiple subscriptions, you can remove the subscription which the co-admin should not manage, if you remove all subscriptions, the co-admin account will be removed automatically.
Now let us login using Co-Administrator login and see how the users are displayed
Since the Co-Administrator already has a subscription, he is displayed as Service Administrator for one of the account and Co-Administrator for other account.
Hope you all find this information helpful !!!
Today while working on SQL Azure Management Portal, I found this new change
While Dropping a server, currently its prompting for Server to confirm that we are deleting the right server
If you type the correct server name, then “Drop” button is enabled
The Drop button doesn’t get enabled until you type the server name correctly
This looks like a small change, but this will be great preventive method to avoid any disaster of dropping the server by mistake !!!
In May 2011 SQL Azure Service Update 7, SQL Azure Management REST API was released.
SQL Azure Management REST API can be used for
- Create SQL Azure server – http://msdn.microsoft.com/en-us/library/gg715274.aspx
- Delete SQL Azure Server – http://msdn.microsoft.com/en-us/library/gg715285.aspx
- Reset Administrator Password for SQL Azure Server – http://msdn.microsoft.com/en-us/library/gg715272.aspx
- Get List of SQL Azure Servers available in the subscription – http://msdn.microsoft.com/en-us/library/gg715269.aspx
- Create Firewall Rules for specified SQL Azure Server – http://msdn.microsoft.com/en-us/library/gg715280.aspx
- Delete Firewall Rules for specified SQL Azure Server – http://msdn.microsoft.com/en-us/library/gg715277.aspx
- Get List of Available Firewall Rules for specified SQL Azure Server – http://msdn.microsoft.com/en-us/library/gg715278.aspx
- Currently it support Synchronous calls, there is no support Asynchronous calls.
All calls should be authenticated using X.509 Certificate and this certificate should be added as Management Certificate in Management Portal
Please read this article on How to create a Certificate http://msdn.microsoft.com/en-us/library/gg432987.aspx
Hope you all find this information useful !!!
Hannssens’ SQL Azure Manager is a lightweight tool for managing SQL Azure databases.
Its still in Alpha release since 25-Aug-2009 and built on .Net Framework 3.5 and available as ClickOnce installer from the below link
Step 1: Click “Run” to install the application and Run
Step 2: To login to SQL Azure server, specify the Server Name, Username and password and click on “Connect”
Step 3: In Main screen toolbar, you have the option to switch between databases, you can pick the database which you want to work
Based on the database you selected, the Object Explorer will be refreshed and display the Tables and Views, you can also use “Refresh” option in toolbar to manually refresh as well.
For Tables and View, you have the following 3 options available under Context menu
1. Select Top 100 Records
2. Select All Records
3. Delete the table
Step 4: You can write and run your queries on the Right Side Query pane, the results will be displayed in Grid format, There is no Text format support or messages pane, Error messages will be displayed as Message Popup
Step 5: To Create a new database, click “New Database” option in Toolbar and then specify the Database name and click “Ok”
Step 6: To delete a database, click “Delete Database” in toolbar and then click “Yes” to confirm
1. No Message Pane
2. No option to view / Modify or Create Stored Procedures / Functions / Triggers using User Interface
There are no new releases in last 2 years and the code was not released to Code Plex or Source Forge, so I am not sure about the future releases of this product.
Its also unstable and crashes.
User Interface is lightweight and nice and fast. It would be good, if they continue the development or release the code under CodePlex or other Open Source community
In the Episode 3 of SQL Azure Query Tool, we will see how to use SQL Azure Database Manager 10.0 (Project Houston), which is part of Windows Azure Management Portal now
Step 1: Login to Windows Azure Portal (https://windows.azure.com/default.aspx ), select the SQL Azure Server and Database and click on “Manage”
Step 2: Accept the Terms and Conditions and data collection agreement and click “Ok” to connect
Step 3: Server name, database name and user name will be pre-populated, Please enter password and click “Connect” to login
Step 4: Start Page will display the database properties (Default Collation, Compatibility Level, Date Created and Read Only) and Server Edition and Version
Click on Left or Right Arrow near to Database Properties to Spin up to Resources view
Step 5: To Query data click on “New Query” in tool bar
Type the SQL query and click on “Execute” to run the query, you can Save the query as .SQL file for future use as well. Results of the query will be displayed in Bottom pane as Grid
Output Messages can be displayed in the “Message” tab
Step 6: To Create New Table – Click on “New Table” icon in toolbar
Enter the column name, select the data type, size, default value, Specify whether Identity, Required or Primary Key. Click on “+ Column” to add more columns. Once completed the design, click on “Save” to save the table.
Step 7: To add data click on Data View in toolbar
Click on “+ Row” to add rows and enters data. Click Save to store the data.
Step 8: Create New View: To create a new view, click on “New View” button in toolbar
Select Schema, Specify View Name and then type the SQL Query and click “Save”, After saving the query, you can click on “Data” to view the output from View
Step 9: Create New Stored Procedure: To create new Stored Procedure, click on “New Stored Procedure” button in toolbar
Select Schema, specify name of Stored Procedure and then click “New Paramter” or “+ Parameter” to add parameter
Specify the name of the parameter, select data type, specify size (if required), default value, whether output parameter or not
Then define the stored procedure body and click “Save”
Step 10: Execute Stored Procedure: Once saved, you can click “Run” and then specify parameter values and click “Execute”
Conclusion: SQL Azure Database Manager (Project Houston) is a light-weight Management Studio Express with limited functionality to create Table, Views and Stored Procedures and manage Data
1. No option to define Synonyms
2. No option to define Functions / View functions
3. No option to create Logins
4. No option to create Users or Manage Permissions
5. No option to Import / Export data
I hope in the future versions, these missing features will be added to make it a full fledge and fully functional Database Manager.
I hope you all find this information useful.
After reading my previous post regarding SQL Azure firewall configuration, one of my friend asked Whether there is an easy way to provide access any IP Address, so that he don’t have to worry about not able to connect using 3G wireless card to connect to SQL Azure
Yes, there is an easy way to do that…
Login to SQL Azure Management Portal and select the subscription and the SQL Azure server for which you want to provide access and then click on “Firewall Rules”
Click “Ok” to save the Firewall rule
Now you should be able to access this SQL Azure server from anywhere in the world.
Note: Please be aware that by adding the above rule, the SQL Azure firewall is pretty much disabled effectively. Obviously this is not a recommended practice.