WWW.MSDE.BIZ

 

WWW.MSDE.BIZ.... 1

WWW.MSDE.BIZ  ‘MSDE Admin’ Instructions. 2

Starting. 2

Registering a Server Group. 3

Un-Registering a Server Group. 4

Registering a MSDE / SQL Server 4

Connecting to the MSDE / SQL Server 5

Editing MSDE / SQL Server Connection Properties. 6

Un-Successful Connections. 6

Viewing MSDE / SQL Server Information. 8

Viewing MSDE / SQL Server Error Logs. 9

Viewing Database Summary Details. 10

Truncating The Transaction Log. 10

Shrinking A Database. 10

Performing a Database Checkpoint 11

Deleting a Database. 12

Creating A Backup Device. 12

Deleting A Backup Device. 14

Viewing Contents of a Backup Device. 15

Backing-Up. 15

Action: "Database - Complete" 17

Action: "Database - Differential" 17

Action: "Transaction Log" 17

Restoring. 18

Detaching a Database. 21

Attaching a Database. 22

Creating a Database. 23

Editing Database Properties. 26

After changing a database property or properties press the ‘Apply’ button the changes to be applied to the database. 27

Database File Groups. 27

New Database File Group. 27

Deleting A Database File Group. 28

Editing a Database File Group. 28

Database Files. 29

New Database File. 29

Editing A Database File. 30

Deleting A Database File. 31

Shrinking A Database File. 31

Transaction Log Files. 32

New Transaction Log File. 32

Editing A Database File. 33

Deleting A Transaction Log File. 33

Shrinking A Transaction Log File. 34

Stored Procedures. 34

New Stored Procedures. 35

Editing / Viewing a Stored Procedure. 36

User Defined Functions. 37

New User Defined Functions. 38

Editing / Viewing a User Defined Function. 38

Tables. 39

View / Editing Table Data. 40

Views. 41

View / Editing View Data. 41

Un-Installation. 43

Important Information Regarding Un-Installing. 43

Support 43

Suggestions. 43

 

WWW.MSDE.BIZ  ‘MSDE Admin’ Instructions

 

Starting

Two default options are provided for starting MSDE Admin. The first option is to double click the ‘MSDE’ icon (icon show below) that can be found on the Windows Desktop and the second option is to use the Windows Start menu. To use the use start menu click on the following ‘Start | Programs | MSDE Admin’.

 

Figure 1: Icon for MSDE Admin

When MSDE Admin is started it first always displays the MSDE Admin end user licence agreement. Please read this agreement and then tick the box in the bottom left corner of the screen if you understand and agree to the licence agreement. Once this latter box is ticked you can press the ‘OK’ button and MSDE Admin shall start. If you do not understand or agree with the licence agreement, then you should press the ‘Terminate’ button. When terminate is pressed, MSDE Admin will close down.

 

When the MSDE Admin has loaded the initial screen like the following is displayed.

Figure 2: Initial Screen

If this is the first time that you have used MSDE Admin it is first necessary to register a server group and then register MSDE Server. Please see ‘Registering a Server Group’ and ‘Registering a MSDE / SQL Server’ for more information.

Registering a Server Group

MSDE Admin allows you to organise your MSDE servers and SQL Servers into groups. For example if you have a couple of SQL Servers that are only used for accounting you may want to set-up a server group called accounting, or perhaps you also have a couple of SQL Servers that are used only for marketing so again you may wish to create a marketing group. For an example of what this would like see below.

Figure 3: Example of Server Groups

To register a Server Group, do the following:

Figure 4: Register New Server Group

Un-Registering a Server Group

Please note that a server group can only be unregistered if it does not contain any registered SQL Servers. To un-registered a Server Group do the following:

Registering a MSDE / SQL Server

To register a SQL Server, do the following:

Figure 5: Registering a SQL Server

Figure 6: Register SQL Server Dialog

Figure 7: SQL Server Registered

Connecting to the MSDE / SQL Server

To connect to the registered MSDE / SQL Server simply press the ‘+’ against the SQL Server in the tree view. A connection is then attempted and if successful the tree view shall expand. An example of this is shown below.

Figure 8: Successful Connection

Should the connection be un-successful see the ‘Editing MSDE / SQL Server Connection Properties’ section below.

Editing MSDE / SQL Server Connection Properties

If you are unable to connect to a MSDE / SQL Server this is possible due to the incorrect username or password being used. To edit these latter details do the following:

Figure 9: Edit Server Registration Properties

Note it is not possible to edit the name of the SQL Server that you are connecting to. Your only option here is to delete the SQL Server registration and create a new SQL Server registration.

Un-Successful Connections

If the attempt to connect to your MSDE / SQL Server was un-successful an error message shall be displayed. If this is the case it is recommended that you first verify that the SQL Server is running. This can be achieved by following these instructions:

Figure 10: SQL Server Service Manager (Copyright of Microsoft)

 

If you are still unable to connect it is likely that your connection settings are incorrect. To establish and update your connection settings do the following:

Figure 11: Edit Server Registration Properties

Hopefully you should now be able to connect. Note the default MSDE password for user ‘sa’ is a empty password.

Viewing MSDE / SQL Server Information

To view MSDE / SQL Server information, do the following:

Figure 12: Server Version Information

Viewing MSDE / SQL Server Error Logs

To view the MSDE / SQL Server Error Logs, do the following:

Figure 13: SQL Server Error Logs

·        Using the mouse, select the error log that you require to view.

Viewing Database Summary Details

To view the summary details about a database do the following:

Figure 14: Database Summary Details

Truncating The Transaction Log

To truncation the transaction log, do the following:

Figure 15: Confirm Truncation of Transaction Log

Shrinking A Database

To shrink a database, do the following:

Figure 16: Shrinking a Database

Figure 17: Confirm Truncation of Transaction Log

Performing a Database Checkpoint

To perform a database checkpoint (i.e. write all data pages in memory to disk), do the following:

Figure 18: Database Checkpoint

Deleting a Database

To delete a database, do the following:

Creating A Backup Device

To create a ‘Backup Device’ on your MSDE / SQL Server using ‘MSDE Admin’, do the following: