SQL Server Lecture 1
-
Upload
hazem-torab -
Category
Documents
-
view
1.530 -
download
0
description
Transcript of SQL Server Lecture 1
![Page 1: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/1.jpg)
SQL Server 2008Lecture 1Hazem TorabCEO, Founder Enozom Software
![Page 2: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/2.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/3.jpg)
Database Concepts
• Entities
• Attributes
• Relations
• Normalization
• De-Normalization
![Page 4: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/4.jpg)
Conventions• Database Names
• Table Names
• Attribute Names
• Procedure Names
• Spaces and Reserved Words
![Page 5: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/5.jpg)
SQL Server Overview
• SQL Server Editions
– Express
– Web
– Workgroup
– Standard
– Enterprise
![Page 6: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/6.jpg)
![Page 7: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/7.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/8.jpg)
Installing SQL Server• Prerequisites:
– Windows Professional Edition or Server Edition
– .NET Framework 3.5
![Page 9: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/9.jpg)
Installing SQL Server• STEP 1 : Copy the installation files
![Page 10: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/10.jpg)
Installing SQL Server• STEP 2 : Setup
![Page 11: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/11.jpg)
Installing SQL Server• STEP 3 : SQL Server Installation Center
![Page 12: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/12.jpg)
Installing SQL Server• STEP 4 : Initializing Setup
![Page 13: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/13.jpg)
Installing SQL Server• STEP 5 : Product Key (Optional)
![Page 14: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/14.jpg)
Installing SQL Server• STEP 5: Setup
![Page 15: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/15.jpg)
Installing SQL Server• STEP 6 : Setup Support Files
![Page 16: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/16.jpg)
Installing SQL Server• STEP 7: Select Features
![Page 17: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/17.jpg)
Installing SQL Server• STEP 8: Instance Configuration
![Page 18: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/18.jpg)
Installing SQL Server• STEP 9: Disk Space Requirements
![Page 19: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/19.jpg)
Installing SQL Server• STEP 10: Server Configuration
![Page 20: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/20.jpg)
Installing SQL Server• STEP 11:
![Page 21: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/21.jpg)
Installing SQL Server• STEP 12: Database Engine Configuration – Data
Directories
![Page 22: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/22.jpg)
Installing SQL Server• STEP 13 :Ready to Install
![Page 23: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/23.jpg)
Installing SQL Server• STEP 14: Finally Finished
![Page 24: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/24.jpg)
Installing SQL Server• STEP 15: Restart
![Page 25: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/25.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/26.jpg)
Configuring SQL Server• Enable TCP Connections
![Page 27: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/27.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/28.jpg)
Connecting to remote SQL Server• Try to your SQL server from another computer on the same
network
![Page 29: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/29.jpg)
SQL Server Management Studio
![Page 30: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/30.jpg)
SQL Server Management Studio• Object Explorer
![Page 31: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/31.jpg)
SQL Server Management Studio
![Page 32: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/32.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/33.jpg)
Creating Database
![Page 34: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/34.jpg)
Creating Tables • Create Single Table
![Page 35: SQL Server Lecture 1](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/35.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022061115/545af1e0b1af9fc0638b5e4b/html5/thumbnails/36.jpg)
Thank YouHazem Torab
http://www.enozom.com
https://www.facebook.com/Enozom