Ms Sql Server 简明教程

MS SQL Server - Overview

本章介绍了 SQL Server,讨论了它的用法、优点、版本和组件。

This chapter introduces SQL Server, discusses its usage, advantages, versions, and components.

What is SQL Server?

  1. It is a software, developed by Microsoft, which is implemented from the specification of RDBMS.

  2. It is also an ORDBMS.

  3. It is platform dependent.

  4. It is both GUI and command based software.

  5. It supports SQL (SEQUEL) language which is an IBM product, non-procedural, common database and case insensitive language.

Usage of SQL Server

  1. To create databases.

  2. To maintain databases.

  3. To analyze the data through SQL Server Analysis Services (SSAS).

  4. To generate reports through SQL Server Reporting Services (SSRS).

  5. To carry out ETL operations through SQL Server Integration Services (SSIS).

Versions of SQL Server

Version

Year

Code Name

6.0

1995

SQL95

6.5

1996

Hydra

7.0

1998

Sphinx

8.0 (2000)

2000

Shiloh

9.0 (2005)

2005

Yukon

10.0 (2008)

2008

Katmai

10.5 (2008 R2)

2010

Kilimanjaro

11.0 (2012)

2012

Denali

12 (2014)

2014

Hekaton (initially), SQL 14 (current)

SQL Server Components

SQL Server 在客户机-服务器架构中运行,因此它支持两种类型的组件-(a)工作站和(b)服务器。

SQL Server works in client-server architecture, hence it supports two types of components − (a) Workstation and (b) Server.

  1. Workstation components are installed in every device/SQL Server operator’s machine. These are just interfaces to interact with Server components. Example: SSMS, SSCM, Profiler, BIDS, SQLEM etc.

  2. Server components are installed in centralized server. These are services. Example: SQL Server, SQL Server Agent, SSIS, SSAS, SSRS, SQL browser, SQL Server full text search etc.

Instance of SQL Server

  1. An instance is an installation of SQL Server.

  2. An instance is an exact copy of the same software.

  3. If we install 'n' times, then 'n' instances will be created.

  4. There are two types of instances in SQL Server a) Default b) Named.

  5. Only one default instance will be supported in one Server.

  6. Multiple named instances will be supported in one Server.

  7. Default instance will take the server name as Instance name.

  8. Default instance service name is MSSQLSERVER.

  9. 16 instances will be supported in 2000 version.

  10. 50 instances will supported in 2005 and later versions.

Advantages of Instances

  1. To install different versions in one machine.

  2. To reduce cost.

  3. To maintain production, development, and test environments separately.

  4. To reduce temporary database problems.

  5. To separate security privileges.

  6. To maintain standby server.