Presentation is loading. Please wait.

Presentation is loading. Please wait.

IMS 4212 Lab: Lab Introduction 1 Dr. Lawrence West, MIS Dept., University of Central Florida Subject—Topics Installing.

Similar presentations


Presentation on theme: "IMS 4212 Lab: Lab Introduction 1 Dr. Lawrence West, MIS Dept., University of Central Florida Subject—Topics Installing."— Presentation transcript:

1 IMS 4212 Lab: Lab Introduction 1 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest Subject—Topics Installing SQL Server –Service –Sample DBs Creating databases—locations Moving Databases Disabling SQL Server Express Modifying AutoStart characteristics of SQL Server

2 IMS 4212 Lab: Lab Introduction 2 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest Software Checkout software checkout does not "open" until after the end of Add/Drop http://mis.bus.ucf.edu Pick up in MIS Department Office in Rm. 325 See Dr. West’s course page for details

3 IMS 4212 Lab: Lab Introduction 3 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest Components to Install

4 IMS 4212 Lab: Lab Introduction 4 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest After clicking ADVANCED button

5 IMS 4212 Lab: Lab Introduction 5 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest Instance Name: Accept Default

6 IMS 4212 Lab: Lab Introduction 6 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest Service Account: Use the built in system account and Local System

7 IMS 4212 Lab: Lab Introduction 7 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest Authentication Mode: Leave default of Windows Authentication Mode

8 IMS 4212 Lab: Lab Introduction 8 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest Collation Settings: Accept default

9 IMS 4212 Lab: Lab Introduction 9 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest Error and Usage Settings: Click Next (nothing selected)

10 IMS 4212 Lab: Lab Introduction 10 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest Proceed w/ install

11 IMS 4212 Lab: Lab Introduction 11 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest …installing…

12 IMS 4212 Lab: Lab Introduction 12 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest SQL Server 2005 Books Online Use this menu for quick access to the documentation

13 IMS 4212 Lab: Lab Introduction 13 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest Books Online: Your Quick Reference

14 IMS 4212 Lab: Lab Introduction 14 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest DB instances Within SQL Server Management Studio… Open “Object Explorer” pane Expand registered SQL Server Expand “Databases”

15 IMS 4212 Lab: Lab Introduction 15 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest Creating Databases (GUI) Right-click on “Databases” Select “New Databases…” –Provide a “Database name” –Click “OK” Should appear under Databases –Right-click on the new database –If not, right-click and select “Refresh” –Note: for info about your database, right-click on your new db and select “Properties”

16 IMS 4212 Lab: Lab Introduction 16 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest Where is your db? MDF LDF 2. Set paths here 1. Use the scroll

17 IMS 4212 Lab: Lab Introduction 17 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest Moving Databases Detach Database –In the Object Explorer –Right-click on the icon of your db –Select All Tasks >> “Detach…” –Click OK Move the MDF and LDF files

18 IMS 4212 Lab: Lab Introduction 18 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest Moving Databases (con’t) Once moved…Attach Database –In Object Explorer right-click on the “Databases” –Select All Tasks >> “Attach…” –In the “Databases to attach section” click “Add…” –In the pop-up window, browse your file system, select the MDF file of the database to attach, and click “OK” –Finally, click “OK” in the “Attach databases” window

19 IMS 4212 Lab: Lab Introduction 19 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest Role of the installed databases master model tempdb Northwind

20 IMS 4212 Lab: Lab Introduction 20 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest master db Records all the system-level information for an instance of SQL Server. Holds the system tables For example, sysdatabases has an entry for new database Do not touch

21 IMS 4212 Lab: Lab Introduction 21 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest model db Default settings of new databases Template for a database created on the instance of SQL Server Modify an option of this database (e.g.. database size, collation, recovery model) and any databases created afterwards will have those modifications Do not delete this database

22 IMS 4212 Lab: Lab Introduction 22 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest tempdb Working area for database When you create temporary tables, the tables are created in this database Rebuilt every time the server is started

23 IMS 4212 Lab: Lab Introduction 23 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest Northwind Database We will use the NorthWind database for many exercises in the course. Find the NorthWind DB in the course Lessons page under the Client-Server Logic lesson.

24 IMS 4212 Lab: Lab Introduction 24 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest Next Topic 1.We’ll cover creating DB tables

25 IMS 4212 Lab: Lab Introduction 25 Dr. Lawrence West, MIS Dept., University of Central Florida http://systems.bus.ucf.edu/lwest To Do List 1.Install software (after Add/Drop) 2.Practice 3.Read Chapter 1 RDBMS Basics 4.Read Chapter 2 Tools of the Trade 5.Read Chapter 5 Creating and Altering Tables 6.Practice some more


Download ppt "IMS 4212 Lab: Lab Introduction 1 Dr. Lawrence West, MIS Dept., University of Central Florida Subject—Topics Installing."

Similar presentations


Ads by Google