on ‎2018 Apr 19 10:57 PM
I have 2 "similar" SQL Selections that pull data from a Column Table. Some of the selections are the same. Between the 2 sql selects, 3 of the "where" clauses are the same and both have another one that is different.
1. Would it be better to create a single SQL using the similar where clauses and then select out the different data from Table Variable?
2. The big question I have Is:
Is there any difference in performance when selecting from a column table vs a Variable Table? I can't seem to find any information on this online.
Thanks!
Request clarification before answering.
Hi and thanks for the response. I was thinking of a simpler issue. I was wondering if access to a HANA Table with 1 key would have the same performance as accessing a table variable of the same definition. Thanks for the input.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 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.