Hey Sammy
Really, you don't "need" CE-functions.
It won't make your application a thousand times faster if you use CE-functions instead of SQL.
Using the standard DUMMY table with SQL will work perfectly fine. You won't see the performance difference (if there actually is any) for that one.
Sammy Salvatore wrote:
Also, I've read somewhere that we should not mix CE and regular SQL logic.. but I think in some cases where CE can't suffice, SQL has to be used .. so do you think we should write pure SQLs in those cases or mixed CE-SQL scenarios? Which would perform better?
If you read it somewhere it doesn't mean it's (still) true.
Try it out and build a working version using SQL. Measure the performance.
Only if you are not satisfied you might check for the reason and invest into building something faster.
Just a general remark here: developing on SAP HANA is not about getting the fastest "current_date".
It's all about developing correct and relevant applications that also happen to be rather fast - even without loads of tuning.
Get your requirements right. Understand the business logic and implement it correctly.
Then consider performance.
And, by the way: the vast majority of SAP HANA live content had been developed using SQL.
That was definitively not done, because we wanted to slow things down.
- Lars