SQL Server 2012 Session: 1 Session: 3 Introduction to SQL Server 2012 Data Management Using Microsoft SQL Server.

Slides:



Advertisements
Similar presentations
Brian Alderman | MCT, CEO / Founder of MicroTechPoint Pete Harris | Microsoft Senior Content Publisher.
Advertisements

Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
Using Visual Basic 6.0 to Create Web-Based Database Applications
MS DB Proposal Scott Canaan B. Thomas Golisano College of Computing & Information Sciences.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Working with SQL and PL/SQL/ Session 1 / 1 of 27 SQL Server Architecture.
AGENDA Tools used in SQL Server 2000 Graphical BOL Enterprise Manager Service Manager CLI Query Analyzer OSQL BCP.
Managing and Monitoring SQL Server 2005 Shankar Pal Program Manager SQL Server, Redmond.
Passage Three Introduction to Microsoft SQL Server 2000.
Module 3: SQL Server 2005 Administrative Tools. Overview Using SQL Server Management Studio Using SQL Computer Manager Using the sqlcmd Utility Using.
SQL Server Management Studio Introduction
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
Project Implementation for COSC 5050 Distributed Database Applications Lab1.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
Talend 5.4 Architecture Adam Pemble Talend Professional Services.
Time SQL Server 2012 Highlights and ColumnStore Index09:00 – 10:15 AlwaysOn and Contained Databases10:45 – 12:15 PowerPivot and PowerView (BI)13:00 –
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
9.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
Module 1: Introduction to Microsoft SQL Server 7.0.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
Overview of SQL Server Alka Arora.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 3 Administration of Users.
EDUCATION YOU CAN TRUST ® Windows SharePoint Services Course Review Review provided by: DNS Computing Services, LLC
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
TechEd /22/2017 5:40 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Using Visual Basic 6.0 to Create Web-Based Database Applications
Module 7: Fundamentals of Administering Windows Server 2008.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
2. Introduction to the Visual Studio.NET IDE. Chapter Outline Overview of the Visual Studio.NET IDE Overview of the Visual Studio.NET IDE Menu Bar and.
CS480 Computer Science Seminar Introduction to Microsoft Solutions Framework (MSF)
Chokchai Junchey Microsoft Product Specialist Certified Technical Training Center.
Chapter 13 Users, Groups Profiles and Policies. Learning Objectives Understand Windows XP Professional user accounts Understand the different types of.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Four Windows Server 2008 Remote Desktop Services,
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
Introduction to the Adapter Server Rob Mace June, 2008.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
David Dye.  Introduction  Introduction to PowerPivot  Working With PowerPivot.
Building Dashboards SharePoint and Business Intelligence.
Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)
System Center Lesson 4: Overview of System Center 2012 Components System Center 2012 Private Cloud Components VMM Overview App Controller Overview.
Module 1 Introduction to SQL Server® 2008 R2 and its Toolset.
Hosting Websites and Web Applications with Microsoft ® SQL Server ® 2008.
Features Of SQL Server 2000: 1. Internet Integration: SQL Server 2000 works with other products to form a stable and secure data store for internet and.
Module 1: Introduction to Microsoft SQL Server Reporting Services
SQL Server 2012 Session: 1 Session: 4 SQL Azure Data Management Using Microsoft SQL Server.
SSMS SQL Server Management System. SQL Server Microsoft SQL Server is a Relational Database Management System (RDBMS) Relational Database Management System.
Introduction to SQL Server 2000 Reporting Services Jeff Dumas Technical Specialist Microsoft Corporation
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Introduction to SQL Server  Working with MS SQL Server and SQL Server Management Studio.
Enterprise Database Systems Introduction to SQL Server Dr. Georgia Garani Dr. Theodoros Mitakos Technological.
Slide 1 © 2016, Lera Technologies. All Rights Reserved. SAP BO vs SPLUNK vs OBIEE By Lera Technologies.
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
Database Development with SQL Server Data Tools (SSDT) Björn Eriksen, Architect Evangelist DPE Microsoft
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
SQL Database Management
SQL Server 2016 features by edition
Building Enterprise Applications Using Visual Studio®
Module 1: SQL Server Overview
System Center Marketing
System Center Marketing
Who makes a good database administrator
Who makes a good database administrator
Module 12: Implementing an Analysis Services Tabular Data Model
Mark Quirk Head of Technology Developer & Platform Group
Microsoft Azure Services Platform
Presentation transcript:

SQL Server 2012 Session: 1 Session: 3 Introduction to SQL Server 2012 Data Management Using Microsoft SQL Server

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3 ●Describe the basic architecture of SQL Server 2012 ●List the various versions and editions of SQL Server ●Explain the role and structure of SLQ Server databases ●List the new features of SQL Server 2012 ●List the process of connecting to SQL Server Instances ●Explain script file creation and organization ●Explain the process to execute Transact-SQL queries

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3  SQL Server is an RDBMS developed by Microsoft.  It provides an enterprise-level data management platform for an organization.  SQL Server includes numerous features and tools that make it an outstanding database and data analysis platform.  It is also targeted for large-scale Online Transactional Processing (OLTP), data warehousing, and e-commerce applications.  SQL Server 2012 is the new version of SQL Server and was launched by Microsoft on March 6,  One of the major features of this version of SQL Server is that it is available on the cloud platform.  Using SQL Server 2012 not only helps an organization to store and manage huge amount of information, but also to protect and utilize this data at different locations as required.

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3  There are various components that form a part of SQL Server  All the components come together to form the basic architecture of SQL Server  These components can be represented under three major heads that are shown in the following figure:

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3  There are a number of tools that are provided in SQL Server 2012 for development and query management of a database.  Following table lists the different tools available in SQL Server ToolDescription SQL Server Management Studio (SSMS) One of the most important tools available in SQL Server 2012 is SSMS. Is an application provided with SQL Server 2012 that helps to create databases, database objects, query data, and manage the overall working of SQL Server. SQLCMD Is a command-line tool that can be used in place of SSMS. It performs similar functions as SSMS, but in command format only. SQL Server Installation Center Can also be used to add, remove, and modify SQL Server programs.

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3 ToolDescription SQL Server Configuration Manager Is used by database administrators to manage the features of the SQL software installed in client machines. Is not available to all users. It can be used to configure the services, server protocols, client protocols, client aliases, and so on. SQL Server Profiler Is used to monitor an instance of the Database Engine or Analysis Services. SQL Server Data Tools (SSDT) Is an Integrated Development Environment (IDE) used for Business Intelligence Components. It helps to design the database using a tool named Visual Studio. Connectivity Tools Includes DB-Library, Open Database Connectivity (ODBC), Object Linking and Embedding Database (OLE DB), and so on. Are used to communicate between the clients, servers, and network libraries.

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3  Some of the SQL Server 2012 services are as follows: Is a core service that is used for storing, processing, and securing data. Is also used for replication, full-text search, and the Data Quality Services (DQS). Contains tools for managing relational and eXtensible Markup Language (XML) data. SQL Server Database Engine Contain tools that help to create and manage Online Analytical Processing (OLAP). Is used for personal, team, and corporate business intelligence purposes. Are also used in data mining applications. Helps to collaborate with PowerPivot, Excel, and even SharePoint Server Environment. SQL Server Analysis Services

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3 Helps to create, manage, publish, and deploy reports. Can use the reports in tabular, matrix, graphical, or free-form format. Can also be created using Reporting Services. SQL Server Reporting Services Are used for moving, copying, and transforming data using different graphical tools and programmable objects. Includes DQS component in Integration Services. Helps to build high-performance data integration solutions. SQL Server Integration Services Are used for master data management. Is used for analysis, managing, and reporting information such as hierarchies, granular security, transactions, business rules, and so on. SQL Server Master Data Services

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3 All the programs and resource allocations are saved in an instance.An instance can include memory, configuration files, and CPU. There can be multiple instances that can be used for different users in SQL Server All instances work in isolation.Each instance can be customized as per the requirement.Even permissions for each instance can be granted on individual basis. The resources can also be allocated to the instance accordingly, for example, the number of databases allowed. Instances can be called as a bigger container that contains sub-containers in the form of databases, security options, server objects, and so on.

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3  The first version of SQL Server was released in the year  After this, there have been new versions released almost every year, with the latest one being SQL Server  Following table lists different versions of SQL Server: VersionYear SQL Server SQL Server SQL Server SQL Server SQL Server SQL Server SQL Server SQL Server SQL Server SQL Server 2008 R22010 SQL Server

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3  The main editions of SQL Server 2012 are as follows: Is recurrently released edition on most versions of SQL Server. Is the full edition of SQL Server which contains all the features of SQL Server It supports features like PowerView, xVelocity, Business Intelligence services, virtualization, and so on. Enterprise Is the basic edition of SQL Server that supports fundamental database and reporting and analytics functionality. It does not support critical application development, security, and data warehousing. Standard Is a new edition introduced for the first time in SQL Server Supports basic database, reporting and analytics functionality, and also business intelligence services. Supports features such as PowerPivot, PowerView, Business Intelligence Semantic Model, Master Data Services, and so on. Business Intelligence

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3  Following table shows a comparison of the features available for the different editions of SQL Server 2012:

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3  There are also other editions available such as: Express edition - is a free edition of SQL Server Web edition - is used for Internet-based Web services environment. Developer edition - is used by programmers specifically for development, testing, and demonstration purposes.

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3  The structure of Object Explorer in SQL Server 2012 is shown in the following figure:  The structure includes databases, security, server objects, and replications.  It also includes features such as AlwaysOn High Availability, Management, Integration Services Catalogs, and so on.

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3 Contains a collection of databases that stores a specific set of structured data. Databases Used to provide flexible and trustworthy security configuration in SQL Server Includes logins, roles, credentials, audits, and so on. Security Used to monitor activity in computers running an instance of SQL Server. Server Objects Used to copy and distribute data and database objects from one database to another, and then, to synchronize between databases to maintain consistency. Replication Used for high availability and disaster recovery. Is generally used for applications that require high uptime and failure protection. AlwaysOn High Availability Used to manage policies, resources, events, maintenance plans, and so on. Management Stores all the objects of the project after the project has been deployed. Integration Services Catalogs  The various components in the Object Explorer are as follows:

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3 Statistics propertiesFailover clustering enhancementsSQL AzureData-tier ApplicationsData Quality ServicesBig data supportSQL Server InstallationServer modeAudit featuresSelective XML IndexMaster Data ServicesPowerViewFull Text Search

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3  SSMS is used to connect to SQL Server instances.  SSMS is a tool used for creating, querying, and managing the databases.  To open SSMS, connect to SQL Server 2012 by specifying the sever information and login credentials which includes username and password.  The detailed steps to connect to SQL Server instance are as follows: 1 Click Start → All Programs → Microsoft SQL Server 2012 → SQL Server Management Studio. 2 In the Connect to Server dialog box, select the Server type as Database Engine. 3 Type the Server name. 4 Select either Windows Authentication or SQL Server Authentication, provide the required Login and Password, and click Connect.

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3  Following figure shows the Connect to Server dialog box:

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3  Following figure shows the SSMS window:

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3 Script files are files that contain a set of SQL commands. A script file can contain one or more SQL statements. The script files are stored in.sql format in SQL Server  The conceptual layers in which the script files must be organized are shown in the following figure:

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3 A solution is a file in which all the projects in SQL Server 2012 are saved. A project comes under a solution node and there can be more than one project in SQL Server This acts as a top-most node in the hierarchy and is stored as a text file with.ssmssln extension. All the data related to database connection metadata and other miscellaneous files are stored under a project. It is stored as a text file with.ssmssqlproj extension. The script files are the core files in which the queries are developed and executed. The scripts have a.sql extension.

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3  The queries typed in Transact-SQL and saved as.sql files can be executed directly in the SSMS query window.  The steps to execute Transact-SQL queries are as follows: 1 In the query window, select the code to be executed. 2 On the SSMS toolbar, click Execute. OR On the Query menu, click Execute. OR Press F5 or Alt+X or Ctrl+E.

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3  Following figure shows the results of a sample executed query.  The query results can be displayed in three different formats namely, grid, text, and file view.

SQL Server 2012 © Aptech Ltd. SQL Server Introduction to SQL Server 2012/ Session 3 ●The basic architecture of SQL Server 2012 includes tools, services, and instances. ●The three editions of SQL Server are Enterprise, Standard, and Business Intelligence. ●The structure of SQL Database includes databases, security, server objects, replications, AlwaysOn High Availability, Management, Integration Services Catalogs, and so on. ●SSMS is used to connect to SQL Server Instances. ●SSMS is a tool used for developing, querying, and managing the databases. ●The script files should be stored in.sql format in SQL Server ●The queries typed in Transact-SQL and saved as.sql files can be executed directly into the SSMS query window.