Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
FIND_IN_SET to PATINDEX translation missing %s #339
At the moment, the
I'll submit a PR to fix this, but @LitKnd pointed out that since SQL 2016, there's the rather nice
To answer your question regarding SQL 2016 commands
Looks like 23.5% of installations run on a version below 2016.
Perhaps a version check to switch between the two solutions?
We're not opposed to using newer commands in certain use cases. For example, there is no way to translate a GROUP_CONCAT until SQL 2017 and STRING_AGG. Sooner or later we will need to implement it for a number of plugins out there.