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