Wiki

Scale Your Enterprise

User Tools

Site Tools


bw:hana_sql_tips

This is an old revision of the document!


HANA SQL Tips

This page offers some tips for users that have experience with T-SQL (Microsoft SQL Server) and are switching to SAP HANA SQL.

  • HANA database objects (tables, columns, etc.) are enclosed in double-quotes. Tables do not need to be but it is easier to do it for consistency.
  • HANA database objects are case-sensitive. For example, “CardCode” is valid while “cardcode” would not be recognized.
  • When dealing with null values, the HANA expression is IFNULL, not ISNULL. Otherwise the syntax is the same.
  • HANA uses the function CURRENT_DATE instead of getdate().
bw/hana_sql_tips.1554737242.txt.gz · Last modified: 2019/04/08 11:27 by runger