Presentation is loading. Please wait.

Presentation is loading. Please wait.

Module 1: SQL Server Overview

Similar presentations


Presentation on theme: "Module 1: SQL Server Overview"— Presentation transcript:

1 Module 1: SQL Server Overview

2 Overview What Is SQL Server? SQL Server Integration
SQL Server Databases SQL Server Security Working with SQL Server

3 What Is SQL Server? Introduction to SQL Server
Client-Server Components Client-Server Communications SQL Server Services

4 Introduction to SQL Server
Client SQL Server Results OLTP Query OLAP Client Application Relational Database Management System

5 Client-Server Components
Client Application SQL Server Server Net-Libraries Database API (OLE DB, ODBC, DB-Library) Open Data Services Client Net-Library Relational Engine Client Server Storage Engine Processor Memory Local Database

6 Client-Server Communication Process
Client Application SQL Server 1 Query Result Set Server Net-Libraries Database API (OLE DB, ODBC, DB-Library) 5 Open Data Services 3 Query Result Set Client Net-Library Relational Engine 2 Client Server 4 Storage Engine Processor Memory Local Database

7 SQL Server Services MSSQLServer Service SQLServerAgent Service
Data Management Transaction and Query Processing Data Integrity SQLServerAgent Service Jobs Alerts Operators Microsoft Distributed Transaction Coordinator Distributed Transaction Management Server Microsoft Search Full-Text Catalogs Full-Text Indexes

8 SQL Server Integration
Integrating SQL Server with Operating Systems Integrating SQL Server with Windows 2000 Integrating SQL Server with Other Microsoft Server Applications

9 Integrating SQL Server with Operating Systems
Windows 2000 Windows Me, 98, and 95 Windows NT Third Party Browsers Internet Client Server Windows 2000 Windows NT Windows Me Windows 98 Windows CE

10 Integrating SQL Server with Windows 2000
Active Directory Security Multiprocessor Support Microsoft Event Viewer Windows 2000 Component Services Windows 2000 System Monitor Microsoft Internet Information Services Windows Clustering

11 Integrating SQL Server with Other Microsoft Server Applications
Internet Microsoft Windows 2000 with Solution Accelerator (SA) for the Internet Storefront SQL Server Microsoft Exchange Server Microsoft Systems Management Server IBM Host Microsoft Host Integration Server 2000 Data and Applications

12 SQL Server Databases Types of Databases Database Objects
Referring to SQL Server Objects System Tables Metadata Retrieval

13 Types of Databases System Databases User Databases master model tempdb
msdb distribution pubs Northwind User1 User Databases

14 Stored Procedure UpdatePhone
Database Objects Clustered Index Anderson Barr ... Stored Procedure UpdatePhone PK FK Checkx##### Trigger EmpNum LastName FirstName CtryCode Extension LastMod integer longstring varchar(20) char(6) char(2) 10191 Labrie Angela FR x19891 \HR\KarlD 10192 Labrie Eva FR x19433 \HR\KarlD 10202 Martin Jose SP x21467 \HR\AmyL EmployeePhoneView SELECT lastname, firstname, extension FROM employee

15 Referring to SQL Server Objects
Fully Qualified Names server.database.owner.object Partially Specified Names Server defaults to the current instance on the local server Database defaults to current database Owner defaults to the user name in the database CREATE TABLE Northwind.dbo.OrderHistory .

16 System Tables System Tables Store Information (Metadata) About the System and Database Objects Database Catalog Stores Metadata About a Specific Database System Catalog Stores Metadata About the Entire System and All Other Databases

17 Metadata Retrieval System Stored Procedures
System and Metadata Functions Information Schema Views EXEC sp_help Employees SELECT USER_NAME(10) SELECT * FROM INFORMATION_SCHEMA.TABLES

18 SQL Server Security Login Authentication
Database User Accounts and Roles Types of Roles Permission Validation

19 Login Authentication OR AUTHENTICATION
SQL Server Verifies Trusted Connection Windows 2000 Group or User Windows 2000 SQL Server OR SQL Server Verifies Name and Password SQL Server Login Account

20 Database User Accounts and Roles
SQL Server Verifies Trusted Connection SQL Server Assigns Logins to User Accounts and Roles Windows 2000 Group User Windows 2000 Database User SQL Server OR Database Role SQL Server Verifies Name and Password SQL Server Login Account

21 Types of Roles Fixed Server Roles
Group administrative privileges at the server level Fixed Database Roles Group administrative privileges at the database level User-defined Database Roles Represent work defined by a group of employees within an organization

22 Permission Validation
2 3 1 Permissions OK; Performs Command Database User Executes Command SQL Server Checks Permissions SELECT * FROM Members Permissions not OK; Returns Error

23 Working with SQL Server
Administering a SQL Server Database Implementing a SQL Server Database Selecting an Application Architecture for SQL Server Designing Applications Using Database APIs

24 Administering a SQL Server Database
Common Administrative Tasks SQL Server Enterprise Manager SQL Server Administration Tools and Wizards SQL Server Command Prompt Management Tools SQL Server Help and SQL Server Books Online

25 Implementing a SQL Server Database
Designing the Database Creating the Database and Database Objects Testing and Tuning the Application and Database Planning Deployment

26 Selecting an Application Architecture for SQL Server
Intelligent Server (2-Tier) Intelligent Client (2-Tier) N-Tier Internet Presentation Browser Client Presentation Presentation Presentation Business Business Business Business Data Data Data Data

27 Designing Applications Using Database APIs
Object Interfaces ADO Application Programming Interfaces OLE DB Other Data Sources Relational Databases

28 Lab A: SQL Server Overview

29 Review What Is SQL Server? SQL Server Integration SQL Server Databases
SQL Server Security Working with SQL Server


Download ppt "Module 1: SQL Server Overview"

Similar presentations


Ads by Google