Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.



Published on

Published in: Education
  • Be the first to comment

  • Be the first to like this


  1. 1. M1: Introduction to SQL Server 2005 SQL Server 2005
  2. 2. Content <ul><li>Introduction to SQL Server </li></ul><ul><li>Introduction to SQL Server 2005 </li></ul><ul><li>Introduction to Management Studio </li></ul><ul><ul><ul><li>Introduction to Object Explorer </li></ul></ul></ul><ul><ul><ul><li>Introduction to Registered Servers </li></ul></ul></ul><ul><ul><ul><li>Introduction to Solution Explorer </li></ul></ul></ul><ul><ul><ul><li>Introduction to Query Editor </li></ul></ul></ul><ul><li>Introduction to SQL Server Agent </li></ul><ul><li>Backup & Restore Database </li></ul><ul><li>Import & Export Database </li></ul>
  3. 3. <ul><li>At the end of the Module you should be able to understand and work with: </li></ul><ul><ul><li>SQL Server </li></ul></ul><ul><ul><li>SQL Server 2005 </li></ul></ul><ul><ul><li>SQL Server Management Studio & its Componants </li></ul></ul><ul><ul><ul><li>Object Explorer </li></ul></ul></ul><ul><ul><ul><li>Registered Server </li></ul></ul></ul><ul><ul><ul><li>Solution Explorer </li></ul></ul></ul><ul><ul><ul><li>Query Editor </li></ul></ul></ul><ul><ul><li>What is a SQL Server Agent? </li></ul></ul><ul><ul><li>How to take database backup? </li></ul></ul><ul><ul><li>How to restore database? </li></ul></ul><ul><ul><li>How to import/export Database? </li></ul></ul>Objectives
  4. 4. <ul><li>Microsoft SQL Server originated from Sybase SQL Server (referred as Sybase) </li></ul><ul><li>Microsoft partnered with Sybase in 1989 to develop a version of SQL Server for OS/2. </li></ul><ul><li>SQL Server was migrated to Windows NT in 1993 with version 4.2 </li></ul><ul><li>From version 6.5 onwards, SQL Server has been a Microsoft-only product. </li></ul><ul><li>In 1998, Microsoft released SQL server version 7.0 which implemented database engine . </li></ul><ul><li>Sybase SQL Server is now known as Sybase ASE (Adaptive Server Enterprise) </li></ul><ul><li>In 2000, Microsoft released SQL Server 2000 </li></ul>History of SQL Server
  5. 5. <ul><li>SQL Server is a relational database management system (RDBMS) </li></ul><ul><li>SQL Server is built into client/server system </li></ul><ul><li>This helps the database to reside in a centre computer which is known as server </li></ul><ul><li>This data is shared among different users which is known as client </li></ul><ul><li>It is a multi-threaded, multi-user database </li></ul><ul><li>It is a specialized software used to store, query and manage the business data. </li></ul><ul><li>It can be used for both OLTP and OLAP databases </li></ul><ul><ul><li>OLTP is On line Transaction Processing </li></ul></ul><ul><ul><li>OLAP is On Line Analytical Processing </li></ul></ul><ul><li>In SQL Server (OLTP) </li></ul><ul><ul><li>A user can continuously update the data with fully normalized base for data consistency </li></ul></ul><ul><ul><li>The replication is very easy in this </li></ul></ul><ul><li>In SQL Server (OLAP) </li></ul><ul><ul><li>Normalization is not required for consistency </li></ul></ul><ul><ul><li>The replication is very difficult </li></ul></ul><ul><li>SQL base database is used to store and organize the enterprise application </li></ul><ul><li>These applications supports the daily operations of large companies </li></ul>What is SQL Server?
  6. 6. <ul><li>SQL server is a natural vehicle for implementing applications using a distributed client/server architecture. </li></ul><ul><li>The server acts as the link between “front end” computer system for user interaction and “backend” system specialized for database management </li></ul>How SQL Server works? Query Result Client Client Application SQL Server Relational database management system OLTP OLAP
  7. 7. <ul><li>The client runs on multiple computers </li></ul><ul><li>It is also run on server computer with SQL server </li></ul><ul><li>In SQL Server, user interacts with server database by using a client. </li></ul><ul><li>All the data in the server is stored as a file and the access to the file is controlled by a single master program (SQL server) </li></ul><ul><li>SQL server manages database and allocates the available server resources (such as memory, network bandwidth, disk operations) among multiple users requests. </li></ul>SQL Server Architecture
  8. 8. Introduction to SQL Server Management Studio <ul><li>Microsoft SQL Server 2005 has an integrated development environment. </li></ul><ul><li>It provides easy access to create and configure, manage and administer all components of SQL Server. </li></ul><ul><li>It has combined the graphical tools with script editors helping the developer and administrator of all skill levels. </li></ul><ul><li>The Enterprise Manager, Query Analyzer, and Analysis Manager of SQL Server 2000 are now available in a single environment. </li></ul><ul><li>SQL Server Management Studio works with all components of SQL Server such as Reporting Services, Integration Services, SQL Server Compact Edition, and Notification Services. </li></ul>
  9. 9. SQL Server Management Studio Components <ul><li>Object Explorer </li></ul><ul><li>Registered Servers </li></ul><ul><li>Solution Explorers </li></ul><ul><li>Query editors </li></ul>
  10. 10. Working with SQL Server 2005 Registered Servers Object Explorer Solution Explorer Query Editor
  11. 11. Introduction to SQL Server Agent <ul><li>SQL Server Agent is a windows service which executes the scheduled jobs, i.e. the administrative tasks such as taking periodic database backups </li></ul><ul><li>SQL server Agent runs a job in response to a specific event on a specific schedule. </li></ul><ul><ul><li>Example </li></ul></ul><ul><ul><ul><li>If we want to back up all the company servers on every Friday after 4:00pm, SQL Server Agent helps you automate this process. </li></ul></ul></ul><ul><ul><ul><li>In case of problem, SQL Server Agent can record the event and notify the user. </li></ul></ul></ul>
  12. 12. Database Back-up
  13. 13. Database Restore
  14. 14. Database Import/Export
  15. 15. Key Points <ul><li>SQL Server 2005 has an IDE support to connect to various server types. </li></ul><ul><li>It supports all the object types. </li></ul><ul><li>SQL Server Agent lets you automate the administrative jobs. </li></ul><ul><li>With the introduction of SQL Server Management Studio, it is very easy to perform the backup/restore or import/export task. </li></ul>
  16. 16. Questions & Comments