Download Enterprise Manager

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Entity–attribute–value model wikipedia , lookup

Extensible Storage Engine wikipedia , lookup

Oracle Database wikipedia , lookup

Database wikipedia , lookup

Tandem Computers wikipedia , lookup

Microsoft Access wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Database model wikipedia , lookup

Btrieve wikipedia , lookup

Relational model wikipedia , lookup

Clusterpoint wikipedia , lookup

Team Foundation Server wikipedia , lookup

Open Database Connectivity wikipedia , lookup

SQL wikipedia , lookup

PL/SQL wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

Transcript
AGENDA
Tools used in SQL Server 2000
Graphical
•
BOL
•
Enterprise Manager
•
Service Manager
•
Query Analyzer
•
OSQL
•
BCP
CLI
TOOLS
Objective:
• Familiarizes you with tools available for SQL Server
2000
• These tools are used to
1. Create, delete, manage SQL Server Objects
2. Backup & Restore Database
3. Create Users and Grant Rights
4. Monitor and Optimization
Assignment/Exam
Basic Tools:
Books Online (BOL):
•Contains References for SQL 2000
Enterprise Manager:
•Primary Management Tool for SQL Server 2000.
•Almost all management could be done from here
Query Analyzer:
•Primary CLI tool SQL Server 2000
OSQL:
•Operating system CLI query tool
BCP:
•An import and export utility.
1.Books Online (BOL)
1.Books Online (BOL)
Demo
2. ENTERPRISE MANAGER
Start
Program
Microsoft
SQL Server
Enterprise
Manager
Then click Microsoft SQL Server or click on + sign.
SQL Server Group:
• Is a logical arrangement of SQL Servers.
•You can create your own group .
•Otherwise all servers will go to the default group
2. ENTERPRISE MANAGER
Start
Program
Microsoft
SQL Server
Enterprise
Manager
Then click Microsoft SQL Server or click on + sign.
SQL Server Group:
• Is a logical arrangement of SQL Servers.
•You can create your own group .
•Otherwise all servers will go to the default group
ENTERPRISE MANAGER
Taskpad:
•The right hand side panel is called Taskpad.
•It context sensitive of objects in the Right hand side.
Different views:
•Right click on the server and click view, menu.
New Window:
•from here displays a new window at that starting point.
Export list :
•create a text file listing of objects underneath the object
you have selected.
SERVER PROPERTIES
SERVER PROPERTIES
Manage the settings for SQL Server.
These are settings that effects all SQL Installation objects.
We will talk more about this in the heading
“ Setting SQL Server Configuration”
SERVER PROPERTIES
1.Database: This object displays databases and allows
you to manage and manipulate them.
• Master: Is the main database. Contain System tables.
• Model: Template for creating a new database.
• msdb: used by SQL Server Agent for scheduling and saving
jobs. And for Repliction and to store DTS Package
• tempdb: for SQL Server internal calculation.
• Northwind: Sample database for Microsoft Access users
• Pubs: This database is with SQL Server from the initial
version.
SERVER PROPERTIES
2.Database Objects:
•Diagram
•Tables
•View
•Stored procedure
•Users
•Roles
•Rules
•User defined data types – int, bit decimal, numeric,
date, varchar, chare, text…
•User defined function
•Full text catalogs.
SERVER PROPERTIES
3.Data Transformation service
• DTS is a tool that allows movement of data from
several types of sources to either the same or
different types of destination.
Eg. From text file to Microsoft Access
From SQL Server database to ORACLE database
• It moves data as well as transforms data to a form
that the destination database understands.
SERVER PROPERTIES
4.Management :
contains Management Tools
• SQL Server Agent: It manages job which in turn
contain Tasks
• Backup: Creates Backup
• Current Activity: Current Activity Tree and Locks.
• Database Maintenance Plan: Are stored settings
that schedule Maintenance for one or more
databases.
• SQL server logs: Contains information about
Server itself.
SERVER PROPERTIES
5.Replication
• Sets up and monitor automatic transfer of data or
periodic tranfser of data from one server to
another.
SERVER PROPERTIES
6. Secruity:
• Management tool to setup server users, roles.
• Creating linked server( which provides a method
to query Remote server as if they are local to the
server).
SERVER PROPERTIES
7.Support services
• Distributed Transaction Coordinator: takes
data from client programs and group data to one
transaction.
• Full text search: clean up full text catalog,
locates the files.
• Meta Data Service: stores information about
Metadata( Metadata is data about data)
3. Service Manager
• Is a tool controls the state of the SQL Services
• Distributed Transaction Coordinator
• Microsoft search
• SQL server
• SQL server Agent
4. Query Analyzer
start
Program
Enterprise manager
Microsoft
SQL server
tools
Query
Analyzer
Query analyzer
(Press F8 if object browser is not displayed)
•Title bar
•Toolbar
•Menu items
•Object browser
Demo
Expand pubs -> right click authors -> script object to new
window as -> select compilation check (ctl +F5)
execution (F5)
5. Monitoring Tools
Profiler
•Is the primary tool to monitor the SQL Server
•Used to track SQL statements for troubleshooting
•Used to monitor the behaviour of server engine.
6.NETWORK CONFIGURATION
These tools are used to setup Network configuration
for client and server
Server Network utility: Configures network setting
for SQL Server 2000.
Start ->Programs -> Microsoft SQL Server ->
Server Network utility.
Client Network Utility :Configures network settings
for SQL Server 2000 clients
Start ->Programs -> Microsoft SQL Server
Client Network utility
Other CLI tools
Osql
• replaces the old isql
• It is an operating system tool.
• It gives command line access to the database
engine
• Could be used it for local server or remote server
• Used to run script
• Save output to a screen or a file.
Other CLT tools
Bcp
• Bulk copy program
• Used to move data into and out of SQL Server
• bcp /?
• bcp pubs.. Authors out c:\ out.txt –T – c - l
Exercises
1. Books on line
2. Enterprise Manager
• Registering a SQL Server
• Setting SQL Server configuration
• `Creating a database diagram
• Accessing tables
• Altering a table
• Querying data from a table
• Generating a Script