2
Good afternoon,
I have a precedent that executes a select, but work with a bit map, where I use conditionals to perform a specific select depending on the bit that is passed as parameter to Precedent. In this scenario I use a varchar variable to store the select instruction to be executed, however it may happen that more of the bit is on, so I perform a concatenation with the UNION operator to join another selects into one.
My question is the following, if you use a cursor to store the data instead of using concatenated strings, it could increase the performance of the process or bring the results faster than the current logic?
Thanks in advance.
You can post the code of the program?
– Laerte