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

Convert Between an In-Memory Table and an Extended Table

Convert between an in-memory and an extended table (and vice-versa) using SQL scripts in SAP Web IDE for SAP HANA.

Overview

🎓 beginner 15 min. SAP HANA Dynamic TieringBeginnerSAP HANASAP Web Ide
Unknown U Unknown November 1, 2022
Created by June 19, 2018
Contributors

Prerequisites

Prerequisites

Steps

Next Steps

Time to Complete

15 Min


Step 1 Convert to an in-memory table using SQLScript
โ€”

Right-click on your database, and select Open SQL Console. You can also use the shortcut Ctrl + Alt + C or the SQL button under the navigation menu.

Open SQL Console
Open SQL Console

Copy and paste the script below into the console, and press then green play button to execute the script.

SQL
ALTER TABLE "TPCH"."NATION_DT" NOT USING EXTENDED STORAGE

Executing Script
Executing Script

Go back to the Tables tab and click the refresh icon. You should see that the NATION_DT table is no longer an EXTENDED table, and is now an in-memory table.

Refresh Tables
Refresh Tables

Step 2 Convert to an extended table using SQLScript
+
Step 3 Foreign key considerations
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 3
1. Convert to an in-memory table using SQLScript 2. Convert to an extended table using SQLScript 3. Foreign key considerations

Learn more →