This is an old revision of the document!
This page offers some tips for users that have experience with T-SQL (Microsoft SQL Server) and are switching to SAP HANA SQL.
EXTRACT ({YEAR | MONTH | DAY | HOUR | MINUTE | SECOND} FROM <datevalue>)
add_seconds(t0."createDate",(round((t0."createTime"/100),0) * 3600) + ((t0."createTime" - (round((t0."createTime"/100),0)*100)) * 60)) as "CreateDateTime"
HANA database objects are case-sensitive. For example, “CardCode” is valid while “cardcode” would not be recognized.
The same issue is found when using User Applied Filters in reports. If the value in the database is “Acme” but the user enters “acme”, a match will not be found.
One way to address this is to add a “Search” field that is all lower (or upper) case. In