SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Downloaden Sie, um offline zu lesen
1© 2014 SAP AG or an SAP affiliate company. All rights reserved.
SAP HANA SPS 10 - What’s New?
SQLScript
SAP HANA Product Management June, 2015
(Delta from SPS 09 to SPS 10)
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 2Public
Roadmap SAP HANA SQLScript
Summary
Today
 SAP HANA Studio
 Semantic Code Completion
 Web Based Development
Workbench
 New Editor
 New Debugger
 Language Features
 Table parameter definitions
 Table variable definitions
 Autonomous Transactions
Planned Innovations (SPS 10)
 COMMIT/ROLLBACK Support
 Header Only Procedures/Functions
 SQL Inlining Hints
 Multiple output in scalar UDF assignment
 Table Types for Table Variable
Declarations
 Anonymous Blocks
 Web Based Development Workbench
 Semantic Code Completion
 Design-Time artifact debugging
This is the current state of planning and may be changed by SAP at any time.
Future Direction (SPS 11 and
beyond)
 SQLScript v3 performance
enhancements
 GIS Support
 Table cell access(read/modify)
 Move from Repository to GIT
 HDI: HANA Deployment
Infrastructure
 Containers for schema free content
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 3Public
SQLScript – What’s New in SPS 10?
Tooling
 Code Completion in Web-based Dev Workbench
 Design-Time Debugging in Web-based Dev Workbench
Language
 Commit/Rollback
 Anonymous Blocks
 Header-Only Procedure/Function
 SQL Inlining Hints
 Multiple Scalar Variable Assignment
 Table Type for Table Variable Declarations
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 4Public
SQLScript – What’s New in SPS 10
Code Completion
Code completion in web-
based development
workbench
• CTRL+SPACE
• Keyword/statement code
completion
• Semantic code completion
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 5Public
SQLScript – What’s New in SPS 10
Design-Time Artifact Debugging
Design-Time artifact
debugging from web-based
development workbench
• Breakpoints in design-
time artifact
.hdbprocedure
• “Invoke Procedure”
button
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 6Public
SQLScript – What’s New in SPS 10
Commit/Rollback
COMMIT/ROLLBACK
• Supported in procedures only, not supported for scalar or table UDFs
• COMMIT command commits the current transaction and all changes before the COMMIT
command
• ROLLBACK command rolls back the current transaction and undoes all changes since the last
COMMIT
• Transaction boundary is not tied to the procedure block, so if there are nested procedures that
contain COMMIT/ROLLBACK then all statements in the top-level procedure are affected.
• If dynamic SQL was used in the past to execute COMMIT and ROLLBACK statements, it is
recommended to replace all occurrences with the native command because they are more
secure.
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 7Public
SQLScript – What’s New in SPS 10
Commit/Rollback(Cont.)
COMMIT/ROLLBACK
• The first and third INSERT
statements affect the productLog
table, but not the second since it
was rolled back.
• With the first COMMIT, the first
transaction is written to
persistence, and a new transaction
is started
• By triggering ROLLBACK, all
changes in the second transaction
are reverted, and a new
transaction is started
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 8Public
SQLScript – What’s New in SPS 10
Anonymous Blocks
Anonymous Blocks
• Executable DML statement which
can contain imperative and
declarative statements
• No lifecycle handling(e.g.
CREATE/DROP), no catalog object
• No parameters or container specific
properties such as language, or
security mode
• Supports complete SQLScript
language
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 9Public
SQLScript – What’s New in SPS 10
Header Only Procedures/Functions
Header Only Procedures/Functions
• When creating a procedure, all nested procedures need to exist beforehand
• Create procedures/functions with minimum metadata first using the HEADER ONLY extension
• Inject the body of the procedure/function by using the ALTER PROCEDURE statement
CREATE PROCEDURE <proc_name> [(<parameter_clause>)] AS HEADER ONLY
ALTER PROCEDURE <proc_name> [(<parameter_clause>)]
[LANGUAGE <lang>]
[SQL SECURITY <mode>]
[DEFAULT SCHEMA <default_schema_name>]
READS SQL DATA AS
BEGIN
<procedure_body>
END;
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 10Public
SQLScript – What’s New in SPS 10
SQL Inlining Hints
SQL Inlining Hints
• Used to explicitly enforce or block the
inlining of SQL Statements within
SQLScript
• Depending on the scenario, execution
performance could be improved
Example: Block Statement-Inlining
CREATE PROCEDURE procNoInline ( OUT tab2 tt_tab )
LANGUAGE SQLSCRIPT READS SQL DATA AS
BEGIN
tab = SELECT * FROM T WITH HINT (NO_INLINE);
--> Statement will not be inlined into tab2
tab2 = SELECT * from :tab;
END;
Example : Enforce Statement-Inlining
CREATE PROCEDURE procInner (IN tab1 tt_tab, OUT tab2 tt_tab )
LANGUAGE SQLSCRIPT READS SQL DATA AS
BEGIN
tab2 = SELECT I FROM :tab1 WITH HINT (INLINE);
--> Statement will be inlined into the statement of
--> variable table2 of procedure procCaller
END;
CREATE PROCEDURE procCaller (IN table1 tt_tab,
OUT table2 tt_tab)
LANGUAGE SQLSCRIPT READS SQL DATA AS
BEGIN
call procInner (:table1,outTable);
table2 = select I from :outTable;
END;
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 11Public
SQLScript – What’s New in SPS 10
Multiple Scalar Variable Assignments
Multiple Scalar Variable Assignments
• Prior to SPS 10, multiple parameter
assignment for scalar UDFs was not
supported. You were forced to do the
assignment via SELECT statement
SPS 10 assign multiple outputs of Scalar UDF to multiple scalar variables
CREATE PROCEDURE proc(IN a int, IN b int,
OUT x int, OUT y int)
LANGUAGE SQLSCRIPT READS SQL DATA AS
begin
(x,y) = inner_func1(a,b);
end;
It is also possible to only assign a single output
CREATE PROCEDURE proc(IN a int, IN b int,
OUT x int, OUT y int)
LANGUAGE SQLSCRIPT READS SQL DATA AS
begin
x = inner_func1(a,b).x;
y = inner_func1(a,b).y;
end;
SPS 09 consuming multiple result via SELECT statement
CREATE PROCEDURE proc(IN a int, IN b int,
OUT x int, OUT y int)
LANGUAGE SQLSCRIPT READS SQL DATA AS
begin
select inner_func1(a,b).x, inner_func1(a,b).y
into x,y from dummy;
end;
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 12Public
SQLScript – What’s New in SPS 10
Table Types for Table Variable Declarations
Table Type for Table Variable Declarations
• Reference a table type in DECLARE statement
• Must contain runtime object name including schema
CREATE PROCEDURE test_table_type( )
LANGUAGE SQLSCRIPT READS SQL DATA AS
BEGIN
declare lt_tab "SAP_HANA_EPM_NEXT"."sap.hana.democontent.epmNext.data::MD.Products";
lt_tab = select * from "SAP_HANA_EPM_NEXT"."sap.hana.democontent.epmNext.data::MD.Products";
select * from :lt_tab;
END;
© 2014 SAP AG or an SAP affiliate company. All rights reserved. 13
How to find SAP HANA documentation on this topic?
SAP HANA Platform SPS
 What’s New – Release Notes
 Installation
– SAP HANA Server Installation Guide
 Security
 Administration
– SAP HANA Administration Guide
 Development
– SAP HANA Developer Guide
 References
– SAP HANA SQL Reference
• In addition to this learning material, you find SAP HANA documentation on
SAP Help Portal knowledge center at http://help.sap.com/hana_platform.
• The knowledge center is structured according to the product lifecycle: installation, security, administration,
development. So you can find e.g. the SAP HANA Server Installation Guide
in the Installation section and so forth …
© 2015 SAP SE or an SAP affiliate company. All rights reserved.
Thank you
Contact information
Rich Heilman
SAP HANA Product Management
AskSAPHANA@sap.com
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 15Public
© 2015 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 forward-
looking 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.

Weitere ähnliche Inhalte

Was ist angesagt?

What's New in SAP HANA SPS 11 Operations
What's New in SAP HANA SPS 11 OperationsWhat's New in SAP HANA SPS 11 Operations
What's New in SAP HANA SPS 11 OperationsSAP Technology
 
SAP HANA SPS10- Extended Application Services (XS) Programming Model
SAP HANA SPS10- Extended Application Services (XS) Programming ModelSAP HANA SPS10- Extended Application Services (XS) Programming Model
SAP HANA SPS10- Extended Application Services (XS) Programming ModelSAP Technology
 
SAP HANA SPS09 - SAP HANA Answers
SAP HANA SPS09 - SAP HANA AnswersSAP HANA SPS09 - SAP HANA Answers
SAP HANA SPS09 - SAP HANA AnswersSAP Technology
 
How Do You Innovate In a Complex Work? Read How SAP and Intel Can Help
How Do You Innovate In a Complex Work? Read How SAP and Intel Can HelpHow Do You Innovate In a Complex Work? Read How SAP and Intel Can Help
How Do You Innovate In a Complex Work? Read How SAP and Intel Can HelpSAP Technology
 
HANA SPS07 Smart Data Access
HANA SPS07 Smart Data AccessHANA SPS07 Smart Data Access
HANA SPS07 Smart Data AccessSAP Technology
 
What's New in SAP HANA SPS 11 Backup and Recovery (Operations)
What's New in SAP HANA SPS 11 Backup and Recovery (Operations)What's New in SAP HANA SPS 11 Backup and Recovery (Operations)
What's New in SAP HANA SPS 11 Backup and Recovery (Operations)SAP Technology
 
Spark Usage in Enterprise Business Operations
Spark Usage in Enterprise Business OperationsSpark Usage in Enterprise Business Operations
Spark Usage in Enterprise Business OperationsSAP Technology
 
SAP HANA SPS08 Application Lifecycle Management
SAP HANA SPS08 Application Lifecycle ManagementSAP HANA SPS08 Application Lifecycle Management
SAP HANA SPS08 Application Lifecycle Management SAP Technology
 
SAP HANA SPS10- Text Analysis & Text Mining
SAP HANA SPS10- Text Analysis & Text MiningSAP HANA SPS10- Text Analysis & Text Mining
SAP HANA SPS10- Text Analysis & Text MiningSAP Technology
 
SAP HANA SPS10- SAP DB Control Center
SAP HANA SPS10- SAP DB Control CenterSAP HANA SPS10- SAP DB Control Center
SAP HANA SPS10- SAP DB Control CenterSAP Technology
 
HANA SPS07 Extended Application Service
HANA SPS07 Extended Application ServiceHANA SPS07 Extended Application Service
HANA SPS07 Extended Application ServiceSAP Technology
 
What's New for SAP HANA Smart Data Integration & Smart Data Quality
What's New for SAP HANA Smart Data Integration & Smart Data QualityWhat's New for SAP HANA Smart Data Integration & Smart Data Quality
What's New for SAP HANA Smart Data Integration & Smart Data QualitySAP Technology
 
What's new for Text in SAP HANA SPS 11
What's new for Text in SAP HANA SPS 11What's new for Text in SAP HANA SPS 11
What's new for Text in SAP HANA SPS 11SAP Technology
 
What's New in SAP HANA SPS 11 DB Control Center (Operations)
What's New in SAP HANA SPS 11 DB Control Center (Operations)What's New in SAP HANA SPS 11 DB Control Center (Operations)
What's New in SAP HANA SPS 11 DB Control Center (Operations)SAP Technology
 
SAP HANA SPS09 - HANA IM Services
SAP HANA SPS09 - HANA IM ServicesSAP HANA SPS09 - HANA IM Services
SAP HANA SPS09 - HANA IM ServicesSAP Technology
 
SAP HANA SPS10- SAP HANA Platform Lifecycle Management
SAP HANA SPS10- SAP HANA Platform Lifecycle ManagementSAP HANA SPS10- SAP HANA Platform Lifecycle Management
SAP HANA SPS10- SAP HANA Platform Lifecycle ManagementSAP Technology
 
SAP HANA SPS09 - Development Tools
SAP HANA SPS09 - Development ToolsSAP HANA SPS09 - Development Tools
SAP HANA SPS09 - Development ToolsSAP Technology
 
SAP HANA SPS09 - SAP HANA Platform Lifecycle Management
SAP HANA SPS09 - SAP HANA Platform Lifecycle ManagementSAP HANA SPS09 - SAP HANA Platform Lifecycle Management
SAP HANA SPS09 - SAP HANA Platform Lifecycle ManagementSAP Technology
 
What's new on SAP HANA Smart Data Access
What's new on SAP HANA Smart Data AccessWhat's new on SAP HANA Smart Data Access
What's new on SAP HANA Smart Data AccessSAP Technology
 

Was ist angesagt? (20)

SAP HANA SPS10- SHINE
SAP HANA SPS10- SHINESAP HANA SPS10- SHINE
SAP HANA SPS10- SHINE
 
What's New in SAP HANA SPS 11 Operations
What's New in SAP HANA SPS 11 OperationsWhat's New in SAP HANA SPS 11 Operations
What's New in SAP HANA SPS 11 Operations
 
SAP HANA SPS10- Extended Application Services (XS) Programming Model
SAP HANA SPS10- Extended Application Services (XS) Programming ModelSAP HANA SPS10- Extended Application Services (XS) Programming Model
SAP HANA SPS10- Extended Application Services (XS) Programming Model
 
SAP HANA SPS09 - SAP HANA Answers
SAP HANA SPS09 - SAP HANA AnswersSAP HANA SPS09 - SAP HANA Answers
SAP HANA SPS09 - SAP HANA Answers
 
How Do You Innovate In a Complex Work? Read How SAP and Intel Can Help
How Do You Innovate In a Complex Work? Read How SAP and Intel Can HelpHow Do You Innovate In a Complex Work? Read How SAP and Intel Can Help
How Do You Innovate In a Complex Work? Read How SAP and Intel Can Help
 
HANA SPS07 Smart Data Access
HANA SPS07 Smart Data AccessHANA SPS07 Smart Data Access
HANA SPS07 Smart Data Access
 
What's New in SAP HANA SPS 11 Backup and Recovery (Operations)
What's New in SAP HANA SPS 11 Backup and Recovery (Operations)What's New in SAP HANA SPS 11 Backup and Recovery (Operations)
What's New in SAP HANA SPS 11 Backup and Recovery (Operations)
 
Spark Usage in Enterprise Business Operations
Spark Usage in Enterprise Business OperationsSpark Usage in Enterprise Business Operations
Spark Usage in Enterprise Business Operations
 
SAP HANA SPS08 Application Lifecycle Management
SAP HANA SPS08 Application Lifecycle ManagementSAP HANA SPS08 Application Lifecycle Management
SAP HANA SPS08 Application Lifecycle Management
 
SAP HANA SPS10- Text Analysis & Text Mining
SAP HANA SPS10- Text Analysis & Text MiningSAP HANA SPS10- Text Analysis & Text Mining
SAP HANA SPS10- Text Analysis & Text Mining
 
SAP HANA SPS10- SAP DB Control Center
SAP HANA SPS10- SAP DB Control CenterSAP HANA SPS10- SAP DB Control Center
SAP HANA SPS10- SAP DB Control Center
 
HANA SPS07 Extended Application Service
HANA SPS07 Extended Application ServiceHANA SPS07 Extended Application Service
HANA SPS07 Extended Application Service
 
What's New for SAP HANA Smart Data Integration & Smart Data Quality
What's New for SAP HANA Smart Data Integration & Smart Data QualityWhat's New for SAP HANA Smart Data Integration & Smart Data Quality
What's New for SAP HANA Smart Data Integration & Smart Data Quality
 
What's new for Text in SAP HANA SPS 11
What's new for Text in SAP HANA SPS 11What's new for Text in SAP HANA SPS 11
What's new for Text in SAP HANA SPS 11
 
What's New in SAP HANA SPS 11 DB Control Center (Operations)
What's New in SAP HANA SPS 11 DB Control Center (Operations)What's New in SAP HANA SPS 11 DB Control Center (Operations)
What's New in SAP HANA SPS 11 DB Control Center (Operations)
 
SAP HANA SPS09 - HANA IM Services
SAP HANA SPS09 - HANA IM ServicesSAP HANA SPS09 - HANA IM Services
SAP HANA SPS09 - HANA IM Services
 
SAP HANA SPS10- SAP HANA Platform Lifecycle Management
SAP HANA SPS10- SAP HANA Platform Lifecycle ManagementSAP HANA SPS10- SAP HANA Platform Lifecycle Management
SAP HANA SPS10- SAP HANA Platform Lifecycle Management
 
SAP HANA SPS09 - Development Tools
SAP HANA SPS09 - Development ToolsSAP HANA SPS09 - Development Tools
SAP HANA SPS09 - Development Tools
 
SAP HANA SPS09 - SAP HANA Platform Lifecycle Management
SAP HANA SPS09 - SAP HANA Platform Lifecycle ManagementSAP HANA SPS09 - SAP HANA Platform Lifecycle Management
SAP HANA SPS09 - SAP HANA Platform Lifecycle Management
 
What's new on SAP HANA Smart Data Access
What's new on SAP HANA Smart Data AccessWhat's new on SAP HANA Smart Data Access
What's new on SAP HANA Smart Data Access
 

Ähnlich wie SAP HANA SPS10- SQLScript

SAP HANA SPS09 - SQLScript
SAP HANA SPS09 - SQLScriptSAP HANA SPS09 - SQLScript
SAP HANA SPS09 - SQLScriptSAP Technology
 
What's new in SAP HANA SPS 11 SQL/SQLScript
What's new in SAP HANA SPS 11 SQL/SQLScriptWhat's new in SAP HANA SPS 11 SQL/SQLScript
What's new in SAP HANA SPS 11 SQL/SQLScriptSAP Technology
 
SAP HANA SPS09 - SAP HANA Workload Management
SAP HANA SPS09 - SAP HANA Workload ManagementSAP HANA SPS09 - SAP HANA Workload Management
SAP HANA SPS09 - SAP HANA Workload ManagementSAP Technology
 
Open sap fiori1_week_02_unit_01_deplov
Open sap fiori1_week_02_unit_01_deplovOpen sap fiori1_week_02_unit_01_deplov
Open sap fiori1_week_02_unit_01_deplovNagendra Babu
 
SAP Platform & S/4 HANA - Support for Innovation
SAP Platform & S/4 HANA - Support for InnovationSAP Platform & S/4 HANA - Support for Innovation
SAP Platform & S/4 HANA - Support for InnovationBernhard Luecke
 
SAP HANA SPS08 SQLScript
SAP HANA SPS08 SQLScriptSAP HANA SPS08 SQLScript
SAP HANA SPS08 SQLScriptSAP Technology
 
SAP_SLT_Guide_21122015.pdf
SAP_SLT_Guide_21122015.pdfSAP_SLT_Guide_21122015.pdf
SAP_SLT_Guide_21122015.pdfssuser17886a
 
SAP TechEd 2015 | DEV109 | Extending Cloud Solutions from SAP using SAP HANA ...
SAP TechEd 2015 | DEV109 | Extending Cloud Solutions from SAP using SAP HANA ...SAP TechEd 2015 | DEV109 | Extending Cloud Solutions from SAP using SAP HANA ...
SAP TechEd 2015 | DEV109 | Extending Cloud Solutions from SAP using SAP HANA ...SAP HANA Cloud Platform
 
2017 sitNL Cloud Foundry Masterclass
2017 sitNL Cloud Foundry Masterclass2017 sitNL Cloud Foundry Masterclass
2017 sitNL Cloud Foundry MasterclassTed Castelijns
 
SAP Engineering Control Center interface to PTC Creo: Product Presentation
SAP Engineering Control Center interface to PTC Creo: Product PresentationSAP Engineering Control Center interface to PTC Creo: Product Presentation
SAP Engineering Control Center interface to PTC Creo: Product Presentationriessengineering
 
Sap enhancement packages
Sap enhancement packagesSap enhancement packages
Sap enhancement packagesJoyce Maina
 
Adeyinka Olurin - Goal 3 - Change Request Management
Adeyinka Olurin - Goal 3 - Change Request ManagementAdeyinka Olurin - Goal 3 - Change Request Management
Adeyinka Olurin - Goal 3 - Change Request ManagementAdeyinka Olurin
 
Introduction to the Wave Platform API
Introduction to the Wave Platform APIIntroduction to the Wave Platform API
Introduction to the Wave Platform APISalesforce Developers
 
What's new in SAP HANA SPS 11 Security
What's new in SAP HANA SPS 11 SecurityWhat's new in SAP HANA SPS 11 Security
What's new in SAP HANA SPS 11 SecuritySAP Technology
 
How SAP uses Flowable as its BPMN engine for SAP CP Workflow
How SAP uses Flowable as its BPMN engine for SAP CP WorkflowHow SAP uses Flowable as its BPMN engine for SAP CP Workflow
How SAP uses Flowable as its BPMN engine for SAP CP WorkflowFlowable
 

Ähnlich wie SAP HANA SPS10- SQLScript (20)

SAP HANA SPS09 - SQLScript
SAP HANA SPS09 - SQLScriptSAP HANA SPS09 - SQLScript
SAP HANA SPS09 - SQLScript
 
openSAP_fiops1_Week_1_All_Slides.pdf
openSAP_fiops1_Week_1_All_Slides.pdfopenSAP_fiops1_Week_1_All_Slides.pdf
openSAP_fiops1_Week_1_All_Slides.pdf
 
What's new in SAP HANA SPS 11 SQL/SQLScript
What's new in SAP HANA SPS 11 SQL/SQLScriptWhat's new in SAP HANA SPS 11 SQL/SQLScript
What's new in SAP HANA SPS 11 SQL/SQLScript
 
SAP HANA SPS09 - SAP HANA Workload Management
SAP HANA SPS09 - SAP HANA Workload ManagementSAP HANA SPS09 - SAP HANA Workload Management
SAP HANA SPS09 - SAP HANA Workload Management
 
Open sap fiori1_week_02_unit_01_deplov
Open sap fiori1_week_02_unit_01_deplovOpen sap fiori1_week_02_unit_01_deplov
Open sap fiori1_week_02_unit_01_deplov
 
SAP Platform & S/4 HANA - Support for Innovation
SAP Platform & S/4 HANA - Support for InnovationSAP Platform & S/4 HANA - Support for Innovation
SAP Platform & S/4 HANA - Support for Innovation
 
SAP HANA SPS08 SQLScript
SAP HANA SPS08 SQLScriptSAP HANA SPS08 SQLScript
SAP HANA SPS08 SQLScript
 
SAP_SLT_Guide_21122015.pdf
SAP_SLT_Guide_21122015.pdfSAP_SLT_Guide_21122015.pdf
SAP_SLT_Guide_21122015.pdf
 
SAP TechEd 2015 | DEV109 | Extending Cloud Solutions from SAP using SAP HANA ...
SAP TechEd 2015 | DEV109 | Extending Cloud Solutions from SAP using SAP HANA ...SAP TechEd 2015 | DEV109 | Extending Cloud Solutions from SAP using SAP HANA ...
SAP TechEd 2015 | DEV109 | Extending Cloud Solutions from SAP using SAP HANA ...
 
2017 sitNL Cloud Foundry Masterclass
2017 sitNL Cloud Foundry Masterclass2017 sitNL Cloud Foundry Masterclass
2017 sitNL Cloud Foundry Masterclass
 
SAP Engineering Control Center interface to PTC Creo: Product Presentation
SAP Engineering Control Center interface to PTC Creo: Product PresentationSAP Engineering Control Center interface to PTC Creo: Product Presentation
SAP Engineering Control Center interface to PTC Creo: Product Presentation
 
Sap enhancement packages
Sap enhancement packagesSap enhancement packages
Sap enhancement packages
 
Adeyinka Olurin - Goal 3 - Change Request Management
Adeyinka Olurin - Goal 3 - Change Request ManagementAdeyinka Olurin - Goal 3 - Change Request Management
Adeyinka Olurin - Goal 3 - Change Request Management
 
Dev207 berlin
Dev207 berlinDev207 berlin
Dev207 berlin
 
SAP WPB
SAP WPBSAP WPB
SAP WPB
 
SAP WPB
SAP WPBSAP WPB
SAP WPB
 
Introduction to the Wave Platform API
Introduction to the Wave Platform APIIntroduction to the Wave Platform API
Introduction to the Wave Platform API
 
What's new in SAP HANA SPS 11 Security
What's new in SAP HANA SPS 11 SecurityWhat's new in SAP HANA SPS 11 Security
What's new in SAP HANA SPS 11 Security
 
SIT Rome 2015
SIT Rome 2015SIT Rome 2015
SIT Rome 2015
 
How SAP uses Flowable as its BPMN engine for SAP CP Workflow
How SAP uses Flowable as its BPMN engine for SAP CP WorkflowHow SAP uses Flowable as its BPMN engine for SAP CP Workflow
How SAP uses Flowable as its BPMN engine for SAP CP Workflow
 

Mehr von SAP Technology

SAP Integration Suite L1
SAP Integration Suite L1SAP Integration Suite L1
SAP Integration Suite L1SAP Technology
 
Future-Proof Your Business Processes by Automating SAP S/4HANA processes with...
Future-Proof Your Business Processes by Automating SAP S/4HANA processes with...Future-Proof Your Business Processes by Automating SAP S/4HANA processes with...
Future-Proof Your Business Processes by Automating SAP S/4HANA processes with...SAP Technology
 
7 Top Reasons to Automate Processes with SAP Intelligent Robotic Processes Au...
7 Top Reasons to Automate Processes with SAP Intelligent Robotic Processes Au...7 Top Reasons to Automate Processes with SAP Intelligent Robotic Processes Au...
7 Top Reasons to Automate Processes with SAP Intelligent Robotic Processes Au...SAP Technology
 
Extend SAP S/4HANA to deliver real-time intelligent processes
Extend SAP S/4HANA to deliver real-time intelligent processesExtend SAP S/4HANA to deliver real-time intelligent processes
Extend SAP S/4HANA to deliver real-time intelligent processesSAP Technology
 
Process optimization and automation for SAP S/4HANA with SAP’s Business Techn...
Process optimization and automation for SAP S/4HANA with SAP’s Business Techn...Process optimization and automation for SAP S/4HANA with SAP’s Business Techn...
Process optimization and automation for SAP S/4HANA with SAP’s Business Techn...SAP Technology
 
Accelerate your journey to SAP S/4HANA with SAP’s Business Technology Platform
Accelerate your journey to SAP S/4HANA with SAP’s Business Technology PlatformAccelerate your journey to SAP S/4HANA with SAP’s Business Technology Platform
Accelerate your journey to SAP S/4HANA with SAP’s Business Technology PlatformSAP Technology
 
Accelerate Your Move to an Intelligent Enterprise with SAP Cloud Platform and...
Accelerate Your Move to an Intelligent Enterprise with SAP Cloud Platform and...Accelerate Your Move to an Intelligent Enterprise with SAP Cloud Platform and...
Accelerate Your Move to an Intelligent Enterprise with SAP Cloud Platform and...SAP Technology
 
Transform your business with intelligent insights and SAP S/4HANA
Transform your business with intelligent insights and SAP S/4HANATransform your business with intelligent insights and SAP S/4HANA
Transform your business with intelligent insights and SAP S/4HANASAP Technology
 
SAP Cloud Platform for SAP S/4HANA: Accelerate your move to an Intelligent En...
SAP Cloud Platform for SAP S/4HANA: Accelerate your move to an Intelligent En...SAP Cloud Platform for SAP S/4HANA: Accelerate your move to an Intelligent En...
SAP Cloud Platform for SAP S/4HANA: Accelerate your move to an Intelligent En...SAP Technology
 
Innovate collaborative applications with SAP Jam Collaboration & SAP Cloud Pl...
Innovate collaborative applications with SAP Jam Collaboration & SAP Cloud Pl...Innovate collaborative applications with SAP Jam Collaboration & SAP Cloud Pl...
Innovate collaborative applications with SAP Jam Collaboration & SAP Cloud Pl...SAP Technology
 
The IoT Imperative for Consumer Products
The IoT Imperative for Consumer ProductsThe IoT Imperative for Consumer Products
The IoT Imperative for Consumer ProductsSAP Technology
 
The IoT Imperative for Discrete Manufacturers - Automotive, Aerospace & Defen...
The IoT Imperative for Discrete Manufacturers - Automotive, Aerospace & Defen...The IoT Imperative for Discrete Manufacturers - Automotive, Aerospace & Defen...
The IoT Imperative for Discrete Manufacturers - Automotive, Aerospace & Defen...SAP Technology
 
IoT is Enabling a New Era of Shareholder Value in Energy and Natural Resource...
IoT is Enabling a New Era of Shareholder Value in Energy and Natural Resource...IoT is Enabling a New Era of Shareholder Value in Energy and Natural Resource...
IoT is Enabling a New Era of Shareholder Value in Energy and Natural Resource...SAP Technology
 
The IoT Imperative in Government and Healthcare
The IoT Imperative in Government and HealthcareThe IoT Imperative in Government and Healthcare
The IoT Imperative in Government and HealthcareSAP Technology
 
SAP S/4HANA Finance and the Digital Core
SAP S/4HANA Finance and the Digital CoreSAP S/4HANA Finance and the Digital Core
SAP S/4HANA Finance and the Digital CoreSAP Technology
 
Five Reasons To Skip SAP Suite on HANA and Go Directly to SAP S/4HANA
Five Reasons To Skip SAP Suite on HANA and Go Directly to SAP S/4HANAFive Reasons To Skip SAP Suite on HANA and Go Directly to SAP S/4HANA
Five Reasons To Skip SAP Suite on HANA and Go Directly to SAP S/4HANASAP Technology
 
SAP Helps Reduce Silos Between Business and Spatial Data
SAP Helps Reduce Silos Between Business and Spatial DataSAP Helps Reduce Silos Between Business and Spatial Data
SAP Helps Reduce Silos Between Business and Spatial DataSAP Technology
 
Spotlight on Financial Services with Calypso and SAP ASE
Spotlight on Financial Services with Calypso and SAP ASESpotlight on Financial Services with Calypso and SAP ASE
Spotlight on Financial Services with Calypso and SAP ASESAP Technology
 
SAP ASE 16 SP02 Performance Features
SAP ASE 16 SP02 Performance FeaturesSAP ASE 16 SP02 Performance Features
SAP ASE 16 SP02 Performance FeaturesSAP Technology
 

Mehr von SAP Technology (20)

SAP Integration Suite L1
SAP Integration Suite L1SAP Integration Suite L1
SAP Integration Suite L1
 
Future-Proof Your Business Processes by Automating SAP S/4HANA processes with...
Future-Proof Your Business Processes by Automating SAP S/4HANA processes with...Future-Proof Your Business Processes by Automating SAP S/4HANA processes with...
Future-Proof Your Business Processes by Automating SAP S/4HANA processes with...
 
7 Top Reasons to Automate Processes with SAP Intelligent Robotic Processes Au...
7 Top Reasons to Automate Processes with SAP Intelligent Robotic Processes Au...7 Top Reasons to Automate Processes with SAP Intelligent Robotic Processes Au...
7 Top Reasons to Automate Processes with SAP Intelligent Robotic Processes Au...
 
Extend SAP S/4HANA to deliver real-time intelligent processes
Extend SAP S/4HANA to deliver real-time intelligent processesExtend SAP S/4HANA to deliver real-time intelligent processes
Extend SAP S/4HANA to deliver real-time intelligent processes
 
Process optimization and automation for SAP S/4HANA with SAP’s Business Techn...
Process optimization and automation for SAP S/4HANA with SAP’s Business Techn...Process optimization and automation for SAP S/4HANA with SAP’s Business Techn...
Process optimization and automation for SAP S/4HANA with SAP’s Business Techn...
 
Accelerate your journey to SAP S/4HANA with SAP’s Business Technology Platform
Accelerate your journey to SAP S/4HANA with SAP’s Business Technology PlatformAccelerate your journey to SAP S/4HANA with SAP’s Business Technology Platform
Accelerate your journey to SAP S/4HANA with SAP’s Business Technology Platform
 
Accelerate Your Move to an Intelligent Enterprise with SAP Cloud Platform and...
Accelerate Your Move to an Intelligent Enterprise with SAP Cloud Platform and...Accelerate Your Move to an Intelligent Enterprise with SAP Cloud Platform and...
Accelerate Your Move to an Intelligent Enterprise with SAP Cloud Platform and...
 
Transform your business with intelligent insights and SAP S/4HANA
Transform your business with intelligent insights and SAP S/4HANATransform your business with intelligent insights and SAP S/4HANA
Transform your business with intelligent insights and SAP S/4HANA
 
SAP Cloud Platform for SAP S/4HANA: Accelerate your move to an Intelligent En...
SAP Cloud Platform for SAP S/4HANA: Accelerate your move to an Intelligent En...SAP Cloud Platform for SAP S/4HANA: Accelerate your move to an Intelligent En...
SAP Cloud Platform for SAP S/4HANA: Accelerate your move to an Intelligent En...
 
Innovate collaborative applications with SAP Jam Collaboration & SAP Cloud Pl...
Innovate collaborative applications with SAP Jam Collaboration & SAP Cloud Pl...Innovate collaborative applications with SAP Jam Collaboration & SAP Cloud Pl...
Innovate collaborative applications with SAP Jam Collaboration & SAP Cloud Pl...
 
The IoT Imperative for Consumer Products
The IoT Imperative for Consumer ProductsThe IoT Imperative for Consumer Products
The IoT Imperative for Consumer Products
 
The IoT Imperative for Discrete Manufacturers - Automotive, Aerospace & Defen...
The IoT Imperative for Discrete Manufacturers - Automotive, Aerospace & Defen...The IoT Imperative for Discrete Manufacturers - Automotive, Aerospace & Defen...
The IoT Imperative for Discrete Manufacturers - Automotive, Aerospace & Defen...
 
IoT is Enabling a New Era of Shareholder Value in Energy and Natural Resource...
IoT is Enabling a New Era of Shareholder Value in Energy and Natural Resource...IoT is Enabling a New Era of Shareholder Value in Energy and Natural Resource...
IoT is Enabling a New Era of Shareholder Value in Energy and Natural Resource...
 
The IoT Imperative in Government and Healthcare
The IoT Imperative in Government and HealthcareThe IoT Imperative in Government and Healthcare
The IoT Imperative in Government and Healthcare
 
SAP S/4HANA Finance and the Digital Core
SAP S/4HANA Finance and the Digital CoreSAP S/4HANA Finance and the Digital Core
SAP S/4HANA Finance and the Digital Core
 
Five Reasons To Skip SAP Suite on HANA and Go Directly to SAP S/4HANA
Five Reasons To Skip SAP Suite on HANA and Go Directly to SAP S/4HANAFive Reasons To Skip SAP Suite on HANA and Go Directly to SAP S/4HANA
Five Reasons To Skip SAP Suite on HANA and Go Directly to SAP S/4HANA
 
SAP Helps Reduce Silos Between Business and Spatial Data
SAP Helps Reduce Silos Between Business and Spatial DataSAP Helps Reduce Silos Between Business and Spatial Data
SAP Helps Reduce Silos Between Business and Spatial Data
 
Why SAP HANA?
Why SAP HANA?Why SAP HANA?
Why SAP HANA?
 
Spotlight on Financial Services with Calypso and SAP ASE
Spotlight on Financial Services with Calypso and SAP ASESpotlight on Financial Services with Calypso and SAP ASE
Spotlight on Financial Services with Calypso and SAP ASE
 
SAP ASE 16 SP02 Performance Features
SAP ASE 16 SP02 Performance FeaturesSAP ASE 16 SP02 Performance Features
SAP ASE 16 SP02 Performance Features
 

Kürzlich hochgeladen

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 

Kürzlich hochgeladen (20)

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 

SAP HANA SPS10- SQLScript

  • 1. 1© 2014 SAP AG or an SAP affiliate company. All rights reserved. SAP HANA SPS 10 - What’s New? SQLScript SAP HANA Product Management June, 2015 (Delta from SPS 09 to SPS 10)
  • 2. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 2Public Roadmap SAP HANA SQLScript Summary Today  SAP HANA Studio  Semantic Code Completion  Web Based Development Workbench  New Editor  New Debugger  Language Features  Table parameter definitions  Table variable definitions  Autonomous Transactions Planned Innovations (SPS 10)  COMMIT/ROLLBACK Support  Header Only Procedures/Functions  SQL Inlining Hints  Multiple output in scalar UDF assignment  Table Types for Table Variable Declarations  Anonymous Blocks  Web Based Development Workbench  Semantic Code Completion  Design-Time artifact debugging This is the current state of planning and may be changed by SAP at any time. Future Direction (SPS 11 and beyond)  SQLScript v3 performance enhancements  GIS Support  Table cell access(read/modify)  Move from Repository to GIT  HDI: HANA Deployment Infrastructure  Containers for schema free content
  • 3. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 3Public SQLScript – What’s New in SPS 10? Tooling  Code Completion in Web-based Dev Workbench  Design-Time Debugging in Web-based Dev Workbench Language  Commit/Rollback  Anonymous Blocks  Header-Only Procedure/Function  SQL Inlining Hints  Multiple Scalar Variable Assignment  Table Type for Table Variable Declarations
  • 4. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 4Public SQLScript – What’s New in SPS 10 Code Completion Code completion in web- based development workbench • CTRL+SPACE • Keyword/statement code completion • Semantic code completion
  • 5. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 5Public SQLScript – What’s New in SPS 10 Design-Time Artifact Debugging Design-Time artifact debugging from web-based development workbench • Breakpoints in design- time artifact .hdbprocedure • “Invoke Procedure” button
  • 6. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 6Public SQLScript – What’s New in SPS 10 Commit/Rollback COMMIT/ROLLBACK • Supported in procedures only, not supported for scalar or table UDFs • COMMIT command commits the current transaction and all changes before the COMMIT command • ROLLBACK command rolls back the current transaction and undoes all changes since the last COMMIT • Transaction boundary is not tied to the procedure block, so if there are nested procedures that contain COMMIT/ROLLBACK then all statements in the top-level procedure are affected. • If dynamic SQL was used in the past to execute COMMIT and ROLLBACK statements, it is recommended to replace all occurrences with the native command because they are more secure.
  • 7. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 7Public SQLScript – What’s New in SPS 10 Commit/Rollback(Cont.) COMMIT/ROLLBACK • The first and third INSERT statements affect the productLog table, but not the second since it was rolled back. • With the first COMMIT, the first transaction is written to persistence, and a new transaction is started • By triggering ROLLBACK, all changes in the second transaction are reverted, and a new transaction is started
  • 8. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 8Public SQLScript – What’s New in SPS 10 Anonymous Blocks Anonymous Blocks • Executable DML statement which can contain imperative and declarative statements • No lifecycle handling(e.g. CREATE/DROP), no catalog object • No parameters or container specific properties such as language, or security mode • Supports complete SQLScript language
  • 9. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 9Public SQLScript – What’s New in SPS 10 Header Only Procedures/Functions Header Only Procedures/Functions • When creating a procedure, all nested procedures need to exist beforehand • Create procedures/functions with minimum metadata first using the HEADER ONLY extension • Inject the body of the procedure/function by using the ALTER PROCEDURE statement CREATE PROCEDURE <proc_name> [(<parameter_clause>)] AS HEADER ONLY ALTER PROCEDURE <proc_name> [(<parameter_clause>)] [LANGUAGE <lang>] [SQL SECURITY <mode>] [DEFAULT SCHEMA <default_schema_name>] READS SQL DATA AS BEGIN <procedure_body> END;
  • 10. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 10Public SQLScript – What’s New in SPS 10 SQL Inlining Hints SQL Inlining Hints • Used to explicitly enforce or block the inlining of SQL Statements within SQLScript • Depending on the scenario, execution performance could be improved Example: Block Statement-Inlining CREATE PROCEDURE procNoInline ( OUT tab2 tt_tab ) LANGUAGE SQLSCRIPT READS SQL DATA AS BEGIN tab = SELECT * FROM T WITH HINT (NO_INLINE); --> Statement will not be inlined into tab2 tab2 = SELECT * from :tab; END; Example : Enforce Statement-Inlining CREATE PROCEDURE procInner (IN tab1 tt_tab, OUT tab2 tt_tab ) LANGUAGE SQLSCRIPT READS SQL DATA AS BEGIN tab2 = SELECT I FROM :tab1 WITH HINT (INLINE); --> Statement will be inlined into the statement of --> variable table2 of procedure procCaller END; CREATE PROCEDURE procCaller (IN table1 tt_tab, OUT table2 tt_tab) LANGUAGE SQLSCRIPT READS SQL DATA AS BEGIN call procInner (:table1,outTable); table2 = select I from :outTable; END;
  • 11. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 11Public SQLScript – What’s New in SPS 10 Multiple Scalar Variable Assignments Multiple Scalar Variable Assignments • Prior to SPS 10, multiple parameter assignment for scalar UDFs was not supported. You were forced to do the assignment via SELECT statement SPS 10 assign multiple outputs of Scalar UDF to multiple scalar variables CREATE PROCEDURE proc(IN a int, IN b int, OUT x int, OUT y int) LANGUAGE SQLSCRIPT READS SQL DATA AS begin (x,y) = inner_func1(a,b); end; It is also possible to only assign a single output CREATE PROCEDURE proc(IN a int, IN b int, OUT x int, OUT y int) LANGUAGE SQLSCRIPT READS SQL DATA AS begin x = inner_func1(a,b).x; y = inner_func1(a,b).y; end; SPS 09 consuming multiple result via SELECT statement CREATE PROCEDURE proc(IN a int, IN b int, OUT x int, OUT y int) LANGUAGE SQLSCRIPT READS SQL DATA AS begin select inner_func1(a,b).x, inner_func1(a,b).y into x,y from dummy; end;
  • 12. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 12Public SQLScript – What’s New in SPS 10 Table Types for Table Variable Declarations Table Type for Table Variable Declarations • Reference a table type in DECLARE statement • Must contain runtime object name including schema CREATE PROCEDURE test_table_type( ) LANGUAGE SQLSCRIPT READS SQL DATA AS BEGIN declare lt_tab "SAP_HANA_EPM_NEXT"."sap.hana.democontent.epmNext.data::MD.Products"; lt_tab = select * from "SAP_HANA_EPM_NEXT"."sap.hana.democontent.epmNext.data::MD.Products"; select * from :lt_tab; END;
  • 13. © 2014 SAP AG or an SAP affiliate company. All rights reserved. 13 How to find SAP HANA documentation on this topic? SAP HANA Platform SPS  What’s New – Release Notes  Installation – SAP HANA Server Installation Guide  Security  Administration – SAP HANA Administration Guide  Development – SAP HANA Developer Guide  References – SAP HANA SQL Reference • In addition to this learning material, you find SAP HANA documentation on SAP Help Portal knowledge center at http://help.sap.com/hana_platform. • The knowledge center is structured according to the product lifecycle: installation, security, administration, development. So you can find e.g. the SAP HANA Server Installation Guide in the Installation section and so forth …
  • 14. © 2015 SAP SE or an SAP affiliate company. All rights reserved. Thank you Contact information Rich Heilman SAP HANA Product Management AskSAPHANA@sap.com
  • 15. © 2015 SAP SE or an SAP affiliate company. All rights reserved. 15Public © 2015 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 forward- looking 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.