Building The Pics2Share Sample Database-3
Building The Pics2Share Sample Database-3
Brian A. Randell
MCW Technologies, LLC
January 2004
Applies to:
Microsoft SQL Server Desktop Engine (MSDE) 2000 Release A
Summary: Demonstrates how you to create a sample MSDE database using pre-
defined SQL scripts and OSQL.EXE for use with other walkthroughs using ASP.NET 1.1
(3 printed pages)
Contents
Creating the Database
Creating the Database Objects
Adding the Database Users
Adding the Sample Data
Introduction
In order to get started, you will need to have access to a machine with Microsoft SQL
Server Desktop Engine (MSDE) 2000 Release A installed and running (In addition, you
can use a licensed copy of SQL Server 2000 Personal, Standard, Enterprise, or
Developer Edition).
You will be using the OSQL.EXE command-line tool to execute pre-defined SQL scripts.
In this walkthrough, you will need to provide the correct MSDE server (and possibly
instance) name. In addition, if you are using standard security you will need to
provide a valid user name and password.
Note: The steps below assume that the MSDE instance you want to use is the
default instance and that you are using integrated security.
Prerequisites
To follow this walkthrough, the following software and components must be installed
on your development computer:
• Microsoft SQL Server Desktop Engine (MSDE) 2000 Release A
• The 01_Pics2Share_BuildDB.sql, 02_Pics2Share_CreateObjects.sql,
03_Pics2Share_IntegratedSecurity.sql, 03_Pics2Share_StandardSecurity.sql, and
04_Pics2Share_AppRolesAndUsers.sql script files, which are provided in the
walkthrough support files.