Archive

Archive for the ‘SQL Azure Admin’ Category

Manage SQL Azure server using PowerShell

September 21, 2011 Leave a comment

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

http://wappowershell.codeplex.com/documentation

How to create Co-Administrator for SQL Azure Server ?

July 15, 2011 Leave a comment

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

image

After navigating to Database section, click on “User Management” in Tool bar

image

In User Management screen, You can see the currently available Service Administrators and Co-Administrator for all available subscriptions

 image

Click on “Add New Co-Admin”

image

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”

image

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

image

To remove a subscription or remove a Co-Administrator, click on Co-Administrator name and then click on “Manage Co-Admin”

image

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

image

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 !!!

SQL Azure Management Portal Changes–Drop SQL Azure Server

July 13, 2011 Leave a comment

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

image

If you type the correct server name, then “Drop” button is enabled

image

The Drop button doesn’t get enabled until you type the server name correctly

image

This looks like a small change, but this will be great preventive method to avoid any disaster of dropping the server by mistake !!!

Programmatically Managing SQL Azure using REST API

June 29, 2011 Leave a comment

In May 2011 SQL Azure Service Update 7, SQL Azure Management REST API was released.

SQL Azure Management REST API can be used for

    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 !!!

SQL Azure Query Tool– Part 4–Hannsens SQL Azure Manager

May 27, 2011 Leave a comment

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

http://hanssens.org/tools/sqlazuremanager/

Step 1: Click “Run” to install the application and Run

clip_image001

Step 2: To login to SQL Azure server, specify the Server Name, Username and password and click on “Connect”

clip_image002

Step 3: In Main screen toolbar, you have the option to switch between databases, you can pick the database which you want to work

clip_image003

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.

clip_image004

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

clip_image005

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

clip_image006

Step 5: To Create a new database, click “New Database” option in Toolbar and then specify the Database name and click “Ok”

clip_image007

Step 6: To delete a database, click “Delete Database” in toolbar and then click “Yes” to confirm

clip_image008

Missing Feature:

1. No Message Pane

2. No option to view / Modify or Create Stored Procedures / Functions / Triggers using User Interface

Conclusion:

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

Follow

Get every new post delivered to your Inbox.

Join 111 other followers