sql server lecture 1

36
SQL Server 2008 Lecture 1 Hazem Torab CEO, Founder Enozom Software

Upload: hazem-torab

Post on 01-Nov-2014

1.534 views

Category:

Documents


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: SQL Server Lecture 1

SQL Server 2008Lecture 1Hazem TorabCEO, Founder Enozom Software

Page 2: SQL Server Lecture 1

Agenda• Reviewing Database Concepts

• Conventions

• SQL Server2008 Overview

• Installing and Configuring SQL Server 2008.

• Introducing SQL Server 2008 services.

• Introducing Management Studio.

• Introducing built-in Database.

• Creating Databases and Database Files.

Page 3: SQL Server Lecture 1

Database Concepts

• Entities

• Attributes

• Relations

• Normalization

• De-Normalization

Page 4: SQL Server Lecture 1

Conventions• Database Names

• Table Names

• Attribute Names

• Procedure Names

• Spaces and Reserved Words

Page 5: SQL Server Lecture 1

SQL Server Overview

• SQL Server Editions

– Express

– Web

– Workgroup

– Standard

– Enterprise

Page 6: SQL Server Lecture 1
Page 7: SQL Server Lecture 1

SQL Server Overview

• Why SQL Server

– Huge Data Manipulation

– Fast response time

– Automated Database Backups

– Main Customers

– Volvo Cars

– Great Western Bank

– MSN

http://www.youtube.com/watch?v=8HIUXfTQGEg

Page 8: SQL Server Lecture 1

Installing SQL Server• Prerequisites:

– Windows Professional Edition or Server Edition

– .NET Framework 3.5

Page 9: SQL Server Lecture 1

Installing SQL Server• STEP 1 : Copy the installation files

Page 10: SQL Server Lecture 1

Installing SQL Server• STEP 2 : Setup

Page 11: SQL Server Lecture 1

Installing SQL Server• STEP 3 : SQL Server Installation Center

Page 12: SQL Server Lecture 1

Installing SQL Server• STEP 4 : Initializing Setup

Page 13: SQL Server Lecture 1

Installing SQL Server• STEP 5 : Product Key (Optional)

Page 14: SQL Server Lecture 1

Installing SQL Server• STEP 5: Setup

Page 15: SQL Server Lecture 1

Installing SQL Server• STEP 6 : Setup Support Files

Page 16: SQL Server Lecture 1

Installing SQL Server• STEP 7: Select Features

Page 17: SQL Server Lecture 1

Installing SQL Server• STEP 8: Instance Configuration

Page 18: SQL Server Lecture 1

Installing SQL Server• STEP 9: Disk Space Requirements

Page 19: SQL Server Lecture 1

Installing SQL Server• STEP 10: Server Configuration

Page 20: SQL Server Lecture 1

Installing SQL Server• STEP 11:

Page 21: SQL Server Lecture 1

Installing SQL Server• STEP 12: Database Engine Configuration – Data

Directories

Page 22: SQL Server Lecture 1

Installing SQL Server• STEP 13 :Ready to Install

Page 23: SQL Server Lecture 1

Installing SQL Server• STEP 14: Finally Finished

Page 24: SQL Server Lecture 1

Installing SQL Server• STEP 15: Restart

Page 25: SQL Server Lecture 1

Configuring SQL Server• SQL Server Services

– Check this whenever you have problems with your database

– SQL Server– SQL Server Agent– SQL Server Browser– SQL Server VSS Writer

Page 26: SQL Server Lecture 1

Configuring SQL Server• Enable TCP Connections

Page 27: SQL Server Lecture 1

Configuring SQL Server• Disable your firewall for SQL Server

connectionsPort 1434 UDP & TCP

• Disable your antivirus firewall for SQL server connections

Page 28: SQL Server Lecture 1

Connecting to remote SQL Server• Try to your SQL server from another computer on the same

network

Page 29: SQL Server Lecture 1

SQL Server Management Studio

Page 30: SQL Server Lecture 1

SQL Server Management Studio• Object Explorer

Page 31: SQL Server Lecture 1

SQL Server Management Studio

Page 32: SQL Server Lecture 1

SQL Server Management Studio

• Read More About Management Studio Features

http://msdn.microsoft.com/en-us/library/ms174173.aspx

Page 33: SQL Server Lecture 1

Creating Database

Page 34: SQL Server Lecture 1

Creating Tables • Create Single Table

Page 35: SQL Server Lecture 1

Self Reading• SQL Server Management Studio features

http://msdn.microsoft.com/en-us/library/ms174173.aspx

• Built-in Databases

http://www.dotnetspider.com/resources/1231-Built-In-Databases-MS-SQL-Server.aspx

Page 36: SQL Server Lecture 1

Thank YouHazem Torab

[email protected]

http://www.enozom.com

https://www.facebook.com/Enozom