July 19, 2015 at 10:13 pm
Hey.. I didnt read this earlier.... It is working fine.. Giving the desired results 🙂 but seems to be a slow query. (taking 10 sec to process 1 lac records). Else its working fine and would solve the purpose too.
Thanks a lot
July 20, 2015 at 4:12 am
There was a confusion earlier. I had not seen this post of yours.
This gave the desired results. Thanks a lot.
July 20, 2015 at 2:26 pm
Naina_11 (7/17/2015)
Gosh... I am sorry i am not ignoring... i trying to find some simpler way if any else i have your suggestion in store. Looking for something easier as i have to check this for different tables and columns in a procedure.Sorry if it was offending 🙂
Shifting gears a bit, "mixed" columns such as the one you have are always a pain and hardly ever allow for indexes to be used when using search criteria for numerics. Keeping in mind that there will be the occasional exception (EAVs to store column level changes, for example), my recommendation would be to bring such columns to the attention of whomever it is you work for and suggest that some normalization would be the way to go.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 3 posts - 16 through 17 (of 17 total)
You must be logged in to reply to this topic. Login to reply