Presentation is loading. Please wait.

Presentation is loading. Please wait.

AGENDA Tools used in SQL Server 2000 Graphical BOL Enterprise Manager Service Manager CLI Query Analyzer OSQL BCP.

Similar presentations


Presentation on theme: "AGENDA Tools used in SQL Server 2000 Graphical BOL Enterprise Manager Service Manager CLI Query Analyzer OSQL BCP."— Presentation transcript:

1 AGENDA Tools used in SQL Server 2000 Graphical BOL Enterprise Manager Service Manager CLI Query Analyzer OSQL BCP

2 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

3 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.

4 1.Books Online (BOL)

5 Demo

6 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 Program Microsoft SQL Server Enterprise Manager

7 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 Program Microsoft SQL Server Enterprise Manager

8 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.

9 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”

10 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.

11 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.

12 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.

13 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.

14 SERVER PROPERTIES 5.Replication Sets up and monitor automatic transfer of data or periodic tranfser of data from one server to another.

15 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).

16 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)

17 3. Service Manager Is a tool controls the state of the SQL Services Distributed Transaction Coordinator Microsoft search SQL server SQL server Agent

18 4. Query Analyzer startProgramQuery Analyzer Microsoft SQL server Enterprise manager tools 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)

19 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.

20 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

21 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.

22 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

23 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


Download ppt "AGENDA Tools used in SQL Server 2000 Graphical BOL Enterprise Manager Service Manager CLI Query Analyzer OSQL BCP."

Similar presentations


Ads by Google