HA150. SAP HANA 2.0 SPS03 - SQL and SQLScript for SAP HANA COURSE OUTLINE. Course Version: 15 Course Duration:

Similar documents
HA150. SAP HANA 2.0 SPS02 - SQL and SQLScript for SAP HANA COURSE OUTLINE. Course Version: 14 Course Duration: 3 Day(s)

HA150 SQL Basics for SAP HANA

HA100 SAP HANA Introduction

HA215 SAP HANA Monitoring and Performance Analysis

HA301. SAP HANA 2.0 SPS03 - Advanced Modeling COURSE OUTLINE. Course Version: 15 Course Duration:

HA300 SAP HANA Modeling

HA300 SAP HANA Modeling

HA215 SAP HANA Monitoring and Performance Analysis

BW405. BW/4HANA Query Design and Analysis COURSE OUTLINE. Course Version: 14 Course Duration: 5 Day(s)

C4C30. SAP Cloud Applications Studio COURSE OUTLINE. Course Version: 21 Course Duration: 4 Day(s)

S4D430 Building Views in Core Data Services ABAP (CDS ABAP)

HA100 SAP HANA Introduction

SLT100. Real Time Replication with SAP LT Replication Server COURSE OUTLINE. Course Version: 13 Course Duration: 3 Day(s)

S4H01. Introduction to SAP S/4HANA COURSE OUTLINE. Course Version: 04 Course Duration: 2 Day(s)

BC414. Programming Database Updates COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

ADM505. Oracle Database Administration COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

HA 450. Application Development for SAP HANA COURSE OUTLINE. Course Version: 12 Course Duration:

CA611 Testing with ecatt

HA100 SAP HANA Introduction

HA355. SAP HANA Smart Data Integration COURSE OUTLINE. Course Version: 12 Course Duration: 3 Day(s)

BC470. Form Printing with SAP Smart Forms COURSE OUTLINE. Course Version: 18 Course Duration:

DS10. Data Services - Platform and Transforms COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

MDG100 Master Data Governance

BOD410 SAP Lumira 2.0 Designer

BC405 Programming ABAP Reports

HA400 ABAP Programming for SAP HANA

BW305H. Query Design and Analysis with SAP Business Warehouse Powered by SAP HANA COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

D75AW. Delta ABAP Workbench SAP NetWeaver 7.0 to SAP NetWeaver 7.51 COURSE OUTLINE. Course Version: 18 Course Duration:

S4H410. SAP S/4HANA Embedded Analytics and Modeling with Core Data Services (CDS) Views COURSE OUTLINE. Course Version: 05 Course Duration: 2 Day(s)

BOCRC. SAP Crystal Reports Compact Course COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

BC403 Advanced ABAP Debugging

BC404. ABAP Programming in Eclipse COURSE OUTLINE. Course Version: 16 Course Duration: 3 Day(s)

CLD100. Cloud for SAP COURSE OUTLINE. Course Version: 16 Course Duration: 2 Day(s)

HA240 SAP HANA 2.0 SPS02

BW305. SAP Business Warehouse Query Design and Analysis COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

HA240 Authorization, Security and Scenarios

ADM506. Database Administration Oracle II COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

UX402 SAP SAPUI5 Development

BOID10. SAP BusinessObjects Information Design Tool COURSE OUTLINE. Course Version: 17 Course Duration: 5 Day(s)

BW462 SAP BW/4HANA COURSE OUTLINE. Course Version: 16 Course Duration: 5 Day(s)

ADM110. Installing and Patching SAP S/4HANA and SAP Business Suite Systems COURSE OUTLINE. Course Version: 17 Course Duration: 4 Day(s)

ADM110. Installing and Patching SAP S/4HANA and SAP Business Suite Systems COURSE OUTLINE. Course Version: 18 Course Duration: 4 Day(s)

BC401. ABAP Objects COURSE OUTLINE. Course Version: 18 Course Duration:

TADM51. SAP NetWeaver AS - DB Operation (Oracle) COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

HA150 SQL Basics for SAP HANA

UX400. OpenUI5 Development Foundations COURSE OUTLINE. Course Version: 02 Course Duration: 5 Day(s)

UX300 SAP Screen Personas 3.0 Development

HA100 SAP HANA Introduction

BW310H. Data Warehousing with SAP Business Warehouse powered by SAP HANA COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

BIT660 Data Archiving

ADM535. DB2 LUW Administration for SAP COURSE OUTLINE. Course Version: Course Duration: 3 Day(s)

DBW4H. Data Warehousing with SAP BW/4HANA - Delta from SAP BW powered by SAP HANA COURSE OUTLINE. Course Version: 13 Course Duration: 2 Day(s)

BW350H. SAP BW Powered by SAP HANA - Data Acquisition COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

BW362. SAP BW Powered by SAP HANA COURSE OUTLINE. Course Version: 11 Course Duration: 5 Day(s)

Device Operation Process Diagrams. SAP Mobile Secure rapid-deployment solution September 2014

SCM380 SAP MII - Manufacturing Integration and Intelligence Fundamentals

SAP Analytics Cloud model maintenance Restoring invalid model data caused by hierarchy conflicts

Device Application Onboarding Process Diagrams. SAP Mobile Secure: SAP Afaria 7 SP5 September 2014

Week 2 Unit 3: Creating a JDBC Application. January, 2015

FAQs Data Sources SAP Hybris Cloud for Customer PUBLIC

SAP EarlyWatch Alert. SAP HANA Deployment Best Practices Active Global Support, SAP AG 2015

SAP HANA SPS 08 - What s New? SAP HANA Modeling (Delta from SPS 07 to SPS 08) SAP HANA Product Management May, 2014

Complementary Demo Guide

Let s Exploit DITA: How to automate an App Catalog

SAP HANA SPS 09 - What s New? SAP River

COURSE LISTING. Courses Listed. Training for Database & Technology with Modeling in SAP HANA. Last updated on: 30 Nov 2018.

Week 2 Unit 1: Introduction and First Steps with EJB. January, 2015

SAP HANA SPS 08 - What s New? SAP HANA Web-based Development Workbench. (Delta from SPS 07 to SPS 08) SAP HANA Product Management May, 2014

SAP Hybris Billing, Pricing Simulation Extended Functions Release 2.0, SP03

Device Configuration Process Diagrams. SAP Mobile Secure: SAP Afaria 7 SP5 September 2014

FAQs Data Cleansing SAP Hybris Cloud for Customer PUBLIC

FAQs OData Services SAP Hybris Cloud for Customer PUBLIC

SAP 3D Visual Enterprise 9.0: Localization of Authoring Content

SAP Business One Integration Framework

BOW320. SAP BusinessObjects Web Intelligence: Report Design II COURSE OUTLINE. Course Version: 16 Course Duration: 2 Day(s)

COURSE LISTING. Courses Listed. Training for Database & Technology with Modeling in SAP HANA. Einsteiger. Fortgeschrittene.

FAQs Data Workbench SAP Hybris Cloud for Customer PUBLIC

EDB358. System and Database Administration: Adaptive Server Enterprise COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

SAP HANA Cloud Integration for data services What s new in (Sept 2015) Ben Hofmans, Product Manager

Week 1 Unit 1: Introduction to Data Science

opensap TEXT ANALYTICS WITH SAP HANA PLATFORM WEEK 1

SAP HANA SPS 08 - What s New? SAP HANA Interactive Education - SHINE (Delta from SPS 07 to SPS 08) SAP HANA Product Management May, 2014

DMM 163 Introduction to Data Modeling in SAP HANA

SAP HANA Data Warehousing Foundation Data Distribution Optimizer / Data Life Cycle Manager DWF SP03

COURSE LISTING. Courses Listed. Training for Database & Technology with Administration in Database Migration. 3 September 2018 (21:31 BST)

SAP Mobile Secure Rapiddeployment. Software Requirements

SAP Fiori Launchpad Process Flow. SAP Fiori UX launchpad Configuration: End to End CEG: November 2014

Software and Delivery Requirements

How to create a What If simulation in SAP Analytics Cloud

An Approach for Hybrid-Memory Scaling Columnar In-Memory Databases

EDB116. Fast Track to SAP Adaptive Server Enterprise COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

FAQs Facebook Integration with SAP Hybris Cloud for Customer SAP Hybris Cloud for Customer PUBLIC

SAP: Speeding GRC Control Testing by 90% with SAP Solutions for GRC

NET311. Advanced Web Dynpro for ABAP COURSE OUTLINE. Course Version: 10 Course Duration: 4 Day(s)

SAP Hybris Billing, pricing simulation Application Operations Guide Release 2.0, SP03

COURSE LISTING. Courses Listed. Training for Cloud with SAP Ariba in Buy Side. 27 July 2018 (05:54 BST) Grundlagen. Fortgeschrittene.

BC404. ABAP Programming in Eclipse COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

Using SAP SuccessFactors Integration Center for generating exports on Interview Central. SAP SuccessFactors Recruiting Management

MDG100 Master Data Governance

SAP HANA Operation Expert Summit PLAN - Hardware Landscapes. Addi Brosig, SAP HANA Product Management May 2014

Transcription:

HA150 SAP HANA 2.0 SPS03 - SQL and SQLScript for SAP HANA. COURSE OUTLINE Course Version: 15 Course Duration:

SAP Copyrights and Trademarks 2018 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. Please see http:// global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices. Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation, and SAP SE s or its affiliated companies strategy and possible future developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forwardlooking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.

Typographic Conventions American English is the standard used in this handbook. The following typographic conventions are also used. This information is displayed in the instructor s presentation Demonstration Procedure Warning or Caution Hint Related or Additional Information Facilitated Discussion User interface control Example text Window title Example text Copyright. All rights reserved. iii

iv Copyright. All rights reserved.

Contents vii Course Overview 1 Unit 1: Getting Started 1 Lesson: What is SQL and SQL Script? 1 Lesson: Understanding XS Advanced and HDI 1 Lesson: Working with the Web IDE for SAP HANA 1 Lesson: Understanding the Course Data 3 Unit 2: SQL Logic Containers 3 Lesson: Creating User-Defined Functions 3 Lesson: Creating Database Procedures 3 Lesson: Trapping Errors in SQLScript 3 Lesson: User Defined Libraries 5 Unit 3: Declarative Logic 5 Lesson: Declarative Logic 7 Unit 4: Imperative Logic 7 Lesson: Imperative Logic 9 Unit 5: OLAP Operations 9 Lesson: Using OLAP Analytic Features 11 Unit 6: Working with Hierarchies 11 Lesson: Working with Hierarchies 13 Unit 7: Troubleshooting and Best Practices 13 Lesson: Tools for Troubleshooting 13 Lesson: Best Practices Copyright. All rights reserved. v

15 Unit 8: APPENDIX - Basic SQL for Beginners 15 Lesson: Understanding Motivation and Basic Concepts 15 Lesson: Using Data from a Table or View 15 Lesson: Understanding NULL Values 15 Lesson: Aggregating Data 16 Lesson: Understanding Unions and Joins 16 Lesson: Reading Data from Multiple Tables Part 2 16 Lesson: Changing Data Stored in Tables 16 Lesson: Defining how Data is Stored 16 Lesson: Using Views for Data Access 17 Lesson: Defining Data Access 17 Lesson: Explaining Database Transactions vi Copyright. All rights reserved.

Course Overview TARGET AUDIENCE This course is intended for the following audiences: Application Consultant Development Consultant Technology Consultant Database Administrator Developer Copyright. All rights reserved. vii

viii Copyright. All rights reserved.

UNIT 1 Getting Started Lesson 1: What is SQL and SQL Script? Understand SQL Understand how SQL Script extends SQL Lesson 2: Understanding XS Advanced and HDI Understand XS Advanced and HDI Lesson 3: Working with the Web IDE for SAP HANA Introduce the Web IDE for SAP HANA Introduce the SQL Console of SAP Web IDE for SAP HANA Lesson 4: Understanding the Course Data Understand the sample database used throughout the course Copyright. All rights reserved. 1

Unit 1: Getting Started 2 Copyright. All rights reserved.

UNIT 2 SQL Logic Containers Lesson 1: Creating User-Defined Functions Create and use scalar and table user-defined functions Lesson 2: Creating Database Procedures Create and use database procedures in SAP HANA and know how to debug them Lesson 3: Trapping Errors in SQLScript Describe the need to trap errors Define customized error conditions Control program flow to deal with errors Lesson 4: User Defined Libraries Create User Defined Libraries Copyright. All rights reserved. 3

Unit 2: SQL Logic Containers 4 Copyright. All rights reserved.

UNIT 3 Declarative Logic Lesson 1: Declarative Logic Use Declarative Logic Copyright. All rights reserved. 5

Unit 3: Declarative Logic 6 Copyright. All rights reserved.

UNIT 4 Imperative Logic Lesson 1: Imperative Logic Implement Imperative Logic Copyright. All rights reserved. 7

Unit 4: Imperative Logic 8 Copyright. All rights reserved.

UNIT 5 OLAP Operations Lesson 1: Using OLAP Analytic Features Introduce OLAP Analytic Features Use SQL Group By Features Use Window Framing in SQL Copyright. All rights reserved. 9

Unit 5: OLAP Operations 10 Copyright. All rights reserved.

UNIT 6 Working with Hierarchies Lesson 1: Working with Hierarchies Understand the basics of Hierarchies Copyright. All rights reserved. 11

Unit 6: Working with Hierarchies 12 Copyright. All rights reserved.

UNIT 7 Troubleshooting and Best Practices Lesson 1: Tools for Troubleshooting Understand how to use tools for troubleshooting SQL Script Lesson 2: Best Practices Follow Best Practices for Writing SQL Script Copyright. All rights reserved. 13

Unit 7: Troubleshooting and Best Practices 14 Copyright. All rights reserved.

UNIT 8 APPENDIX - Basic SQL for Beginners Lesson 1: Understanding Motivation and Basic Concepts Understand the motivation for and foundation of the relational model Understand SQL and its relationship to the relational model Understand database tables as the most important database objects Lesson 2: Using Data from a Table or View Write simple database queries using SQL s SELECT statement and project columns in and out of queries using the SELECT clause Calculate column values, use built-in functions and the CASE expression in column lists Avoid duplicates in SELECT statement result sets Limit results sets to a given number of rows and browse through result sets Ensure a specific order in result sets Restrict the result set using the WHERE clause Lesson 3: Understanding NULL Values Interpret NULL values in databases and understand why their presence can lead to unexpected query results Lesson 4: Aggregating Data Copyright. All rights reserved. 15

Unit 8: APPENDIX - Basic SQL for Beginners List the most important aggregate functions supported by HANA and use them to determine aggregated values on table columns using a single SELECT statement Determine aggregated values for groups of rows, using the GROUP BY clause Filter groups using the HAVING clause Lesson 5: Understanding Unions and Joins Combine the result of several select statements using the UNION, INTERSECT and EXCEPT statements List the various types of JOIN constructs and use the appropriate JOIN construct to combine data from several tables using a single query Lesson 6: Reading Data from Multiple Tables Part 2 Explain the difference between uncorrelated and correlated sub-queries and use both to query data from multiple tables in a single select statement Lesson 7: Changing Data Stored in Tables Add rows to database tables using SQL Change existing rows of a database table Remove existing rows from a database table Lesson 8: Defining how Data is Stored List the most important data types SAP HANA supports Create new database tables in HANA Change tables by adding, removing or renaming columns Lesson 9: Using Views for Data Access 16 Copyright. All rights reserved.

Describe the use cases for and advantages of using database views, define database views and use them in queries Lesson 10: Defining Data Access Understand database schemas and access tables in other schemas Explain when database indexes make sense in SAP HANA and create and delete indexes using SQL Lesson 11: Explaining Database Transactions Explain database transactions and the ACID requirements Finish database transactions in HANA using SQL statements Describe issues that arise if transactions are not mutually isolated Understand and control Isolation levels of transactions and how SAP HANA handles concurrency Copyright. All rights reserved. 17