declare @test varchar(50) set @test='sad@fd' if @test LIKE '%[a-zA-Z0-9 ./,()?''+-]%' print 'yes' else print 'no'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)