SQL Server Lecture 1

Post on 01-Nov-2014

1.530 views 0 download

Tags:

description

 

Transcript of SQL Server Lecture 1

SQL Server 2008Lecture 1Hazem TorabCEO, Founder Enozom Software

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.

Database Concepts

• Entities

• Attributes

• Relations

• Normalization

• De-Normalization

Conventions• Database Names

• Table Names

• Attribute Names

• Procedure Names

• Spaces and Reserved Words

SQL Server Overview

• SQL Server Editions

– Express

– Web

– Workgroup

– Standard

– Enterprise

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

Installing SQL Server• Prerequisites:

– Windows Professional Edition or Server Edition

– .NET Framework 3.5

Installing SQL Server• STEP 1 : Copy the installation files

Installing SQL Server• STEP 2 : Setup

Installing SQL Server• STEP 3 : SQL Server Installation Center

Installing SQL Server• STEP 4 : Initializing Setup

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

Installing SQL Server• STEP 5: Setup

Installing SQL Server• STEP 6 : Setup Support Files

Installing SQL Server• STEP 7: Select Features

Installing SQL Server• STEP 8: Instance Configuration

Installing SQL Server• STEP 9: Disk Space Requirements

Installing SQL Server• STEP 10: Server Configuration

Installing SQL Server• STEP 11:

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

Directories

Installing SQL Server• STEP 13 :Ready to Install

Installing SQL Server• STEP 14: Finally Finished

Installing SQL Server• STEP 15: Restart

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

Configuring SQL Server• Enable TCP Connections

Configuring SQL Server• Disable your firewall for SQL Server

connectionsPort 1434 UDP & TCP

• Disable your antivirus firewall for SQL server connections

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

network

SQL Server Management Studio

SQL Server Management Studio• Object Explorer

SQL Server Management Studio

SQL Server Management Studio

• Read More About Management Studio Features

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

Creating Database

Creating Tables • Create Single Table

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

Thank YouHazem Torab

Hazem.torab@enozom.com

http://www.enozom.com

https://www.facebook.com/Enozom