HANA SQLScript & Stored Procedures
Writing procedural logic natively in HANA using SQLScript, including table types, procedures, and control-flow constructs.
SQLScript is HANA's native procedural language, and interviewers ask about it specifically to test whether a candidate can write genuine database-layer logic rather than only ever pushing computation up into an application layer (ABAP, Java, or otherwise) - a skill increasingly relevant given how much SAP's own tooling (AMDP, calculation view scripted logic) relies on it under the hood.
Writing a cursor-based row-by-row loop in SQLScript is like unloading a delivery truck one box at a time by hand when a forklift (set-based SQL) could move the whole pallet at once - HANA's engine is built and optimized for the forklift approach, and procedural loops should be reserved for the rare cases genuinely requiring one box at a time.