SQL Server - Bài 1
Overview of SQL ServerVu Tuyet Trinhtrinhvt-fit@mail.hut.edu.vnHanoi University of Technology1 MicrosoftMicrosoftIntroduction to SQL ServerRelational DatabaseManagement SystemSQL ServerClientResultsResultsClient ApplicationOLAPOLAPOLTPOLTPQueryQueryP2-3 MicrosoftMicrosoftSQL Server Goal MicrosoftMicrosoftOutlineIntroduction to SQL ServerRelational Data ModelExploring SQL Server Architecture Data Access ArchitecturesSQL Server Services & ToolsProgramming LanguagesTransact-SQL (T-SQL)CLRSQL Server EditionsEvolution of SQL ServerSummary MicrosoftMicrosoftRelational Data ModelBund ooraNorma n8507Ba lw ynMary8452Bund ooraGlen3936KewRob ert1108SuburbNameIdStudentTa kes298507238507231108211108SNOSIDCSCEVB29MathsAlgeb ra18CSCEDa ta ba se23CSCESystem s21DeptNameNoSub jec tBund ooraNorma n8507Ba lwynMa ry8452Bund ooraGlen3936KewRob ert1108SuburbNameIdStud entTa kes298507238507231108211108SNOSIDCSCEVB29Ma thsAlgeb ra18CSCEDa ta ba se23CSCESystems21DeptNameNoSub jec tRelational DatabaseEntitiesAttributesRelationship MicrosoftMicrosoftBasic Concepts of a Relational DatabaseEntitiesAttributesRelationsTablesFields MicrosoftMicrosoftBasic concepts• Database ~ a collection of tables. • Table ~ information about a single entity•Primary key ~ (set of) column(s) that uniquely identifies a record.•Foreign key ~ (set of) column(s) used to link table togetherBundooraNorman8507BalwynMary8452BundooraGlen3936KewRobert1108SuburbNameIdStudentTakes298507238507231108211108SNOSID MicrosoftMicrosoftDatabase Design: Main IdeasObjective Ensuring data completenessAvoiding data redundancies Facilitating data accessSolutionNormalizationReducing redundancies and improving data modification performanceRenormalizations is often done to enhance reporting performance (at the expense of disk space and redundancy)Referential IntegrityMaintains the logical relationships between database objects MicrosoftMicrosoftExample MicrosoftMicrosoftOutlineIntroduction to SQL ServerRelational Data ModelExploring SQL Server Architecture Data Access ArchitecturesSQL Server Services & ToolsSQL Server EditionsEvolution of SQL ServerSummary [...]... Workgroup Edition SQL Server Express Edition SQL Server Everywhere Edition Microsoft Evolution of SQL Server SQL Server 6.5 • Data warehousing • Internet support • Differentiation from Sybase SQL Server Cross-release objective Microsoft SQL Server 7.0 • Re-architecture of relational server • First to include OLAP in database • Auto tuning • Ease-of-use SQL Server 2000 SQL Server 2005 • Reliability... Management System N-tier Architecture Microsoft Service-Oriented Architecture Microsoft P18 SQL Server Services MSSQLServer Service SQLServerAgent Service Microsoft Distributed Transaction Coordinator Data Management Transaction and Query Processing Data Integrity Jobs Alerts Operators Distributed Transaction Management Server Microsoft Search Microsoft Full-Text Catalogs Full-Text Indexes Microsoft... Architectures Client / Server architecture N-tier architecture Data functionalities on server- side Visual functionalities on client-side Separating different layers based on data-related processing such Some layers: data storage, data access, business functionalities, visualization (interface) Service Oriented Architecture (SOA) Microsoft Client /Server Architecture Client SQL Server Results OLTP... advancements • Deep XML support • Data warehousing • SQL Server CE • 64 bit support • Enterprise-class scalability • Programmability advancements • End-to-end business intelligence • Manageability • Support for multiple types of data Realibility & Security Integrated Business Intelligence SQL Server 2008 • Secure trusted platform for data • Productive policy-based management • Optimized and predictable system... Transact -SQL (T -SQL) Implementation of Entry-Level ANSI ISO Standard Composing of 3 categories Data Definition Language Statements (DDL) Data Control Language Statements (DCL) Data Manipulation Language Statements (DML) Microsoft CLR Integration Lets you write your database queries using NET Any NET language (C#, VB, C++) Create and debug using Visual Studio IDE Microsoft SQL Server. .. Any Time Microsoft Microsoft Data Platform Vision Microsoft Microsoft Summary SQL Server ~ a database management system Supporting relational data model Supporting data services and tools for database administration SQL Server ~ the core of a new generation data platform Exploited in client /server, n-tier, service-orientes architectures being extensible and flexible data stored Microsoft . ooraGlen3936KewRob ert 110 8SuburbNameIdStudentTa kes2985072385072 311 08 211 108SNOSIDCSCEVB29MathsAlgeb ra18CSCEDa ta ba se23CSCESystem s21DeptNameNoSub jec tBund. ooraGlen3936KewRob ert 110 8SuburbNameIdStud entTa kes2985072385072 311 08 211 108SNOSIDCSCEVB29Ma thsAlgeb ra18CSCEDa ta ba se23CSCESystems21DeptNameNoSub jec