SyntaxFix
Write A Post
Hire A Developer
Questions
Thank you all for your help.
This is what I have used in the end:
SELECT *, CASE WHEN [url] NOT LIKE '%[^-A-Za-z0-9/.+$]%' THEN 'Valid' ELSE 'No valid' END [Validate] FROM *table* ORDER BY [Validate]