SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Using Index Based Cell Access

Leveraging SQLScript in Stored Procedures, User Defined Functions, and User Defined Libraries

Overview

🎓 intermediate 10 min. SAP HANAIntermediateSqlExpress Edition

You will learn

  • โœ”How to use index-based cell access to manipulate table data.
Rich Heilman R Rich Heilman November 1, 2022
Created by September 5, 2016
Contributors

Prerequisites

Prerequisites

  • This tutorial is designed for SAP HANA on premise and SAP HANA, express edition. It is not designed for SAP HANA Cloud.

Steps

Intro

Using index-based cell access to manipulate table data is faster than using cursors or arrays.


Step 1 Create a New Procedure
โ€”

Use what you have learned and create a new procedure called build_products in the procedure folder.

procedure editor
procedure editor

Define an output parameters as show here.

output parameter
output parameter

Step 2 Insert Into Table
+
Step 3 Check Complete Code
+
Step 4 Save and Build
+
Step 5 Run Call Statement Again
+
Step 6 Check the Results
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 6
1. Create a New Procedure 2. Insert Into Table 3. Check Complete Code 4. Save and Build 5. Run Call Statement Again 6. Check the Results

Learn more →