The SQL Server Web Data Administrator

Friday Feb 25th 2005 by Steven Warren
Share:

In the age of 24 x 7 Web sites with no downtime, a DBA often needs a way to perform tasks quickly when off-site. The SQL Server Web Data Administrator is very powerful and gives you the ability to do a multitude of SQL Server tasks remotely.

Do you need the ability to manage your SQL Server data wherever you are? Microsoft released a Web interface that can help you manage your SQL Server databases. With this tool, called the SQL Server Web Data Administrator, you can:

  • Perform ad-hoc queries against databases and save them to your file system.
  • Create/edit databases in SQL Server 2000 or MSDE 2000.
  • View, create, and edit stored procedures.
  • Export and import database schema and data.
  • Manage users and roles.

Where do I download?

You can download the SQL Server Web Data Administrator from Microsofts Web site. Before installing it, you must meet the following requirements:

Note: These are the requirements of the machine that the product is being installed on.

Installing the Web Data Administrator

Once you have downloaded the tool, click the Setup.msi and the welcome screen is displayed. Click Next. The following two Windows ask you to accept the license agreement and select your Installation folder. After you choose an installation location, click Next to start the installation. Once the installation is complete, click Close.

Working with the Web Data Administrator

Before you can begin working with this tool, you must first know how you can access it via IIS. To configure the Web Data Administrator to work with IIS, click Start | Programs | Microsoft SQL Web Data Administration | SQL Web Data Administrator. You are presented with a Window to either start IIS or choose Cassini Personal Web Server (Figure A).


Figure A

Cassini is a sample Web server written using .Net framework that demonstrates ASP.NET. You can download Cassini from Microsoft. For the purposes of this article, we are going to choose IIS and click Start. You can also access the tool directly by typing the following link in IE:

http://your_webserver_name/webadmin/default.aspx

After clicking Start or typing the link manually, the welcome screen for the Web Data Administrator appears as shown in Figure B. You can log in to SQL Server via Windows Integrated authentication or SQL Server authentication.


Figure B

Now that you have logged into your SQL Server via IIS, you will see the screen in Figure C. You can perform one of the following:

  • Create new databases
  • Edit, query, or delete existing databases
  • Import databases
  • Export databases
  • Create and edit logins
  • Create and edit server roles


Figure C

At this point, you can begin to see the power of the Web Data Administrator. Let's dig a little deeper into each of these areas to show you how you can effectively manage your SQL Server.



Creating a new database

In order to create a new database, simply click the Create New Database link and enter the name of your new database. For example, create a database called Databasejournal, as shown in Figure D. Once the database is created, you can manage the objects by choosing the appropriate task, as shown in Figure E.

Click for larger image

Figure D

Click for larger image

Figure E

You can also view the objects by clicking Server Tools | Databases and choosing the database that you want to manage objects on. For example, if we click Server Tools | Databases | Pubs, we can view all the tables by choosing the appropriate link. Next, we can create a query and execute it for information as shown. Finally, we can run a quick backup if necessary, as shown in Figure F.


Figure F

Exporting/importing a new database

Exporting and importing a database is just as simple as creating a database. Just select Server Tools | Export/Import and choose the database and objects. Once that is complete, click Export or Import as shown in Figure G. Remember to save the file to an appropriate place on your computer.


Figure G

Creating logins and server roles

You can quickly create a login by choosing Server Tools | Security and then clicking the Security icon. Next, choose the Create New Login link on the right side of the screen (Figure H). You can also add and edit server roles (Figure I) by choosing the Roles icon.


Figure H


Figure I

Conclusion

In the age of 24 x 7 Web sites with no downtime, a DBA often needs a way to perform tasks quickly when off-site. The SQL Server Web Data Administrator is very powerful and gives you the ability to do a multitude of things with your SQL Server remotely. I recommend that you download it and give it a try.

» See All Articles by Columnist Steven S. Warren

Share:
Home
Mobile Site | Full Site
Copyright 2017 © QuinStreet Inc. All Rights Reserved