on ‎2015 Apr 13 2:02 PM
Dear Experts,
Could you please share best practices on the usage of SQL script in procedures and Script based calculation views?
I searched already for the relevant information, but could not find any yet. I request you share any information other than what is available in help.sap.com based on your experience.
Thank you,
Raghavendra.
Request clarification before answering.
Hi Raghavendra,
As Lars said, it is very difficult to answer your question and it always depend on the designing solution for specific requirements. General rules we follow in scripting are
1. Avoid inline queries
2. Break complex SQL to small and simple SQL statements and club the results
3. Always analyze cost using Visualize Plan
4. Avoid cursors/loops
5. Avoid mix of SQL and CE (most commonly found best practice )
Regards,
Chandra.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.