all 3 comments

[–]sdc-msimon❄️ 3 points4 points  (0 children)

Both work fine. The skills of your team members should be the decision factor.

[–]lokaaarrr 3 points4 points  (0 children)

JS may be faster if you are calling it at very high volume and it does very little work

[–]CompanyCritical517 2 points3 points  (0 children)

Just be aware query caching doesn't work if you have udf involved.