In the following section, we will learn about the SAP HANA SQLscript and see the additional capabilities it brings along with it.
Why SQLscript?
SQLscript is a collection of extensions in Structured Query Language (SQL). The main motivation for SQLscript is to push data intensive application logic into the database, which was not being done in the classical approach where the application logic is mostly executed in an application layer.
We have the following extensions for SQLscript:
How different is an SQLscript in SAP HANA from classical SQL queries?
Let's do a comparative study between an SQLscript in SAP HANA and classical SQL queries to find out what the point of differences are, as shown in the following table:
The following figure shows you a graphical comparison of the classical approach and the SAP HANA approach: