settings on the Data Files and Transaction Log tabs to place the
files in the file system location you desire (I left mine at default for this
to accept changes and to close the Database Properties dialog.
dialog closes and the database appears (after refreshing the Enterprise
Manager console, as required).
Manager open, click the Start button once again.
the Microsoft MSSQL Server - Query Analyzer shortcut in the Programs
group, as appropriate.
equivalent on my PC appears as shown in Illustration 8.
Analyzer from the menu.
to SQL Server dialog appears.
appropriate server in the SQL Server selector box.
radio button to the left of the appropriate authentication selection, supplying
login credentials as required.
to SQL Server dialog appears (with my settings for this exercise) as
depicted in Illustration 9.
Illustration 9: Connect
to SQL Server Dialog
Click the OK
button to log in to SQL Server via Query Analyzer.
... message briefly appears, and then the Query Analyzer console opens.
in the Database Selector atop the console.
--> Open from the main menu.
the folder we created above, RS013, in the Open Query File dialog
following file within the RS013 folder:
Query File dialog appears similar to that shown in Illustration 10.
Illustration 10: Selecting
the Table Creation Script
on the Open Query File dialog to open the script.
table creation script opens, and appears in the Editor pane of the
Query window. This script, executed within the new RSExecutionLog
database, will create the tables that we will target for the Execution Log
data in later steps.
Click the Execute
Query button on the toolbar, as depicted (circled) in Illustration 11.
Illustration 11: Executing
the Query ...
NOTE: Had we named the database anything other than RSExecutionLog,
or if we were working with any but the local instance of MSSQL Server,
we would have needed to edit rsexecutionlog_update.ini for the
respective Execution Log database (referenced as "[Destination]"),
and / or Server identification, etc.. Modifications can be accomplished
by accessing rsexecutionlog_update.ini (another of the files we copied
into the RS013 folder above), using Notepad or any other text editor, as
we shall see later in our exercises.
script is executed, and we are informed of its successful completion, along
with the various events that have transpired, in the Messages pane of
the Query window, as shown in Illustration 12.
Illustration 12: Indication
of Successful Processing ...
At this point,
we can verify creation of the tables by shifting back to Enterprise Manager,
expanding the RSExecutionLog database we created earlier, and clicking
on Tables. Our tables appear as depicted in Illustration 13.
Illustration 13: Manual Verification
of Creation of Tables (Optional)
--> Exit to close Query Analyzer.
preparation of the target database is now complete. We are ready to populate
the tables with the contents of the Execution Log, which we will
accomplish in the next section.