The 'Where' clause are not same , did you the same datetime conversion with CTE as well?
Thanks
Sarat
Please use Marked as Answer if my post solved your problem and use Vote As Helpful if a post was useful.
No comments:
Post a Comment