1 SQL Server 2000 Administration Kashef Mughal MSB.

Slides:



Advertisements
Similar presentations
1 Migrating from Access to SQL Server Simon Kingston, CSU / NPS NRGIS.
Advertisements

Week 6: Chapter 6 Agenda Automation of SQL Server tasks using: SQL Server Agent Scheduling Scripting Technologies.
Fundamentals, Design, and Implementation, 9/e Chapter 11 Managing Databases with SQL Server 2000.
Hands-On Microsoft Windows Server 2003 Chapter 2 Installing Windows Server 2003, Standard Edition.
1 1. SQL SERVER OVERVIEW zWhat Is SQL Server? zInterfaces To Use SQL Server zSQL Server Services zTypes Of Databases zSQL Server Security.
Advanced Databases Basic Database Administration Guide to Oracle 10g 1.
BUSINESS DRIVEN TECHNOLOGY
Managing the Data SQL Overview. Client\Server RDMS (relational database management system) Client\Server RDMS (relational database management system)
Introduction to SQL Server 2000 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Web Development MCP LebDev Vice President ©
Working with SQL and PL/SQL/ Session 1 / 1 of 27 SQL Server Architecture.
AGENDA Tools used in SQL Server 2000 Graphical BOL Enterprise Manager Service Manager CLI Query Analyzer OSQL BCP.
Week 2 - Installation SQL SERVER2000 ENTERPRISE EDITION INSTALLATION.
Module 2: Planning to Install SQL Server. Overview Hardware Installation Considerations SQL Server 2000 Editions Software Installation Considerations.
Passage Three Introduction to Microsoft SQL Server 2000.
Week 5 – Chap. 5 Data Transfer DBAs often must transfer data to and from text files, Excel spreadsheets, Access, Oracle or other SQL Server databases This.
1 Module 2 Installing Windows NT. 2  Overview Preparing for Installation Installing Windows NT Performing a Server-based Installation Troubleshooting.
VMware vCenter Server Module 4.
1 Client/Server Database Tutorial. SQL Server Connection through MS Access FACBUSAD1 SQL server MS Access MGD B106 Computer or your own PC Remote SQL.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 3 Administration of Users.
Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.
Overview What is SQL Server? Creating databases Administration Security Backup.
Chapter 8 Hardening Your SQL Server Instance. Hardening  Hardening The process of making your SQL Server Instance more secure  New features Policy based.
Module 1: Introduction to Microsoft SQL Server 7.0.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.

1 MS SQL Server 7.0 Project Demo by: Amritaputra Bhattacharya Avik Sarkar Kaushik Das Srijit Maiti.
Overview of SQL Server Alka Arora.
Chapter 4 SQL. SQL server Microsoft SQL Server is a client/server database management system. Microsoft SQL Server is a client/server database management.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 3 Administration of Users.
AGENDA 1.Introduction 2.Course Policy 3.What is SQL 2000 Server? 4.Client-Server Architecture and Communications 5.SQL 2000 Versions 6.SQL 2000 Server.
Introduction to SQL Server 2000 Security Dave Watts CTO, Fig Leaf Software
Today’s Objectives Chapters 10 and 11 Security in SQL Server –Manage server logins and database users. –Manage server-level, database-level, and application.
Maintaining a Mirrored Database Tips and Tricks by Paul G. Hiles.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
DBSQL 14-1 Copyright © Genetic Computer School 2009 Chapter 14 Microsoft SQL Server.
CS480 Computer Science Seminar Introduction to Microsoft Solutions Framework (MSF)
Introduction to SEQUEL. What is SEQUEL? Acronym for Structural English Query Language Acronym for Structural English Query Language Standard language.
DIT314 ~ Client Operating System & Administration CHAPTER 5 MANAGING USER ACCOUNTS AND GROUPS Prepared By : Suraya Alias.
Storing Organizational Information - Databases
Module 5: Upgrading to SQL Server 7.0. Overview Planning an Upgrade Preparing to Upgrade Verifying the Upgrade Setting a Compatibility Level.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
Upgrading to SQL Server 2000 Kashef Mughal. Multiple Versions SQL Server 2000 supports multiple versions of SQL Server on the same machine It does that.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Oracle's Distributed Database Bora Yasa. Definition A Distributed Database is a set of databases stored on multiple computers at different locations and.
1 Introduction to Oracle Chapter 1. 2 Before Databases Information was kept in files: Each field describes one piece of information about student Fields.
SQL Server 2000 Sys Admin Jeremiah Curtis Engineering Services
2. SQL Security Objectives –Learn SQL Server 2000 components Contents –Understanding the Authentication Process –Understanding the Authorization Process.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
1 Chapter Overview Planning to Install SQL Server 2000 Deciding SQL Server 2000 Setup Configuration Options Running the SQL Server 2000 Setup Program Using.
1 Chapter Overview What is Microsoft SQL Server 2000? What are the SQL Server 2000 Components? What is the Relational Database Architecture? What is the.
Module 1 Introduction to SQL Server® 2008 R2 and its Toolset.
SQL SERVER 2008 Installation Guide A Step by Step Guide Prepared by Hassan Tariq.
Features Of SQL Server 2000: 1. Internet Integration: SQL Server 2000 works with other products to form a stable and secure data store for internet and.
Library Online Resource Analysis (LORA) System Introduction Electronic information resources and databases have become an essential part of library collections.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Introduction to SQL Server  Working with MS SQL Server and SQL Server Management Studio.
Enterprise Database Systems Introduction to SQL Server Dr. Georgia Garani Dr. Theodoros Mitakos Technological.
uses of DB systems DB environment DB structure Codd’s rules current common RDBMs implementations.
Lecturer: Eng. Mohamed Adam Isak PH.D Researcher in CS. M.Sc. and B.Sc. of Information Technology Engineering Senior Lecturer in University of Somalia,
1 Section 1 - Introduction to SQL u SQL is an abbreviation for Structured Query Language. u It is generally pronounced “Sequel” u SQL is a unified language.
1 Copyright © 2005, Oracle. All rights reserved. Oracle Database Administration: Overview.
Module 1: SQL Server Overview
Database System Concepts and Architecture
Database Management:.
Introduction to SQL Server 2000 Security
Chapter 11 Managing Databases with SQL Server 2000
Ch 1 .Installing and configuring SQL Server 2005
Presentation transcript:

1 SQL Server 2000 Administration Kashef Mughal MSB

2 SQL Server 2000 Administration Introductions – Name, experience with databases or SQL Server, objectives for this class, any hobbies Contact information Breaks, dinner etc. Syllabus and Addendum Grading Scale Attendance Concerns Any questions?

3 Database Basics What is a database? A database is a collection of related information What are the building blocks of a db? Tables, fields and records What are popular kinds of databases? Access, Sybase, SQL Server, Oracle etc.

4 Database objects - Table 1-7 Table (most important object) Data type Default View Stored procedure User-defined function Trigger Constraint Index

5 Tables A table contains data on a specific item like customers, orders etc. Tables are collections of rows and columns like a spread sheet A column a.k.a. field defines a unique entity like SSN, Customer Name etc A rows a.k.a record is a group of related data items (fields) treated as one unit of information Discuss Customer table in Northwind

6 Background of SQL Server Collaboration with Sybase for OS/2 Decided to abandon OS/2 for Win NT SQL Server 4 for Windows NT SQL Server 6 and then SQL Server 6.5 SQL Server 7 (November of 1998) SQL Server 2000 (August 2000) SQL Server YUKON?

7 Administrator vs. Developer Administrator has the following tasks: Backup and restore the database, manage the users and security, setup tasks, alerts and operators, optimize the database Developer has the following tasks: Business analysis, design the database objects, writing Transact SQL, design the GUI Reality is that you need to know both

8 Client/server computing Client/server applications – application is divided into functional components, client (end user) and server The advantage is that you can dedicate the resources on the Server side and also minimize administration For example SQL Server is a Server Application, and Visual Basic could be a Client Application

9 Client access to SQL Server Many options for the client to access data Transact-SQL English Query OLE DB/ODBC-OLE DB ActiveX Data Objects (ADO)

10 Transact-SQL (T-SQL) SQL (pronounced sequel or SQL) is the universal language for database. For SQL Server the dialect is T-SQL TSQL has two types –Data Definition Language (DDL) – used to create and modify databases e.g. CREATE DATABASE –Data Manipulation Language (DML) – used to enter, modify, and extract data e.g. SELECT * FROM CUSTOMERS

11 SQL Server editions Personal edition Standard edition Enterprise edition Enterprise Evaluation edition (we are using this one) Developer edition Windows CE edition Desktop edition Table 1-1

12 SQL Server features Centralized management Data replication Distributed transactions Distributed data Data Transformation Services (DTS) Named instances Operating system integration

13 SQL Server services MSSQLServer SQL Server Agent MS DTC Microsoft Search MSSQLServerOLAPService Table 1-2

14 Communication components Client Server

15 Network libraries Named Pipes (default) Multiprotocol TCP/IP Sockets (default) NWLink IPX/SPX AppleTalk Banyan VINES Shared Memory VIA Giganet Table 1-5

16 Default Net-Libraries Server not supported TCP/IP SocketsWindows 95 TCP/IP Sockets and Shared Memory TCP/IP SocketsWindows 98/ Windows Me TCP/IP Sockets, Named Pipes, and Shared Memory TCP/IP Sockets and Named Pipes Windows NT 4.0 TCP/IP Sockets, Named Pipes, and Shared Memory TCP/IP Sockets and Named Pipes Windows 2000 ServerClientOperating system

17 Client tools installation

18 Default components

19 Client configuration General tab

20 Client configuration Alias tab

21 Server configuration

22 Network communications If none of the client systems can connect with the server, the problem is likely with the server. If none of the clients can connect with the server or any other system on the network, the problem is probably a general network failure. If other clients can connect to the server, the problem is likely with the one client.

23 System databases master – controls all user databases and SQL Server operations model – copy source for creating user databases tempdb – temporary storage pubs – sample database Northwind – sample database msdb – SQL Server Agent support Table 1-6

24 Security in SQL Server Two Levels –Authentication determines if the user can connect to SQL Server –Authorization determines what activities the user can perform once they pass the first level

25 Authentication modes Authentication is at the Server level Defined by the login ID Two types: –Windows Authentication mode Windows authentication only Uses Windows users and groups –Mixed mode Windows or SQL Server authentication Windows users and groups SQL Server login accounts Windows Authentication is preferred

26 Authorization Authorization is at the database level Defined by the the user accounts DBA associates a login ID with a user account e.g. SA login ID is associated with dbo user account Guest User Account – new login is associated with this account Roles – similar to Groups Every user in a database belongs to the Public role (similar to Everyone)

27

28 Review Questions Page 31 Answers to Chapter Review - Page 889 Next week - Chapter 2

29 Installing SQL Server 2000 Kashef Mughal MSB

30 Agenda for Today Do an installation of SQL Server 2000 on your local machine Talk about the options for installation

31 Planning for Installation –Hardware Requirements – Table 2-1 –Memory Requirements – Table 2-2 User Account for SQL Server –local system account (this one has no network access rights) –domain user account (has network access rights and is prefered option –Example on Page 41

32 Operating system support SQL Windows CE edition – Windows CE only Personal edition – Windows 98, Windows Me, Windows NT 4.0, and Windows 2000 Developer edition – Windows NT 4.0 and Windows 2000 Standard edition – Windows NT 4.0 servers and Windows 2000 servers Enterprise edition – Windows NT 4.0 servers and Windows 2000 servers

33 Installation decisions Local or remote Installation options Name and company name License agreement CD-Key Component selection Instance name Installation type Services accounts Authentication mode Collation settings Network libraries Licensing mode

34 Ready to Install - CD with book

35 Local or remote - which computer?

36 Installation options - new or upgrade?

37 Name and company

38 Installation definition - types of installation?

39 Default instance or a named instance?

40 Setup types

41 Component selection - select all for our case - Table 2-5

42 Service accounts - local or domain?

43 Authentication - windows or mixed?

44 Collation - storage of data - dic- order-case-insensitive (1252)

45 Net-Libraries - TCP/IP and Name Pipes are default

46 Licensing mode - Per Seat (small) vs. Per Server (big)

47 Named Instances Multiple instances(copies) on same server Connect using the syntax: computername\instancename Used for second and later installations Just review the information in Lesson 4 on Named Instances

48 Named instance