Skip to content

Instantly share code, notes, and snippets.

@DoronFCG
Created March 28, 2018 18:51
SELECT -- 10 seconds
COUNT(D1)
FROM
#T
WHERE PATINDEX('[0-9][0-9][-][0-9][0-9][-][0-9][0-9][0-9][0-9]%',D1)=1 AND D1 <>''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment