I have been trying to get this condition to be TRUE, but can't seem to get it right.Any suggestions would be helpful. Thanks.DECLARE @stopat datetimeSET @stopat = '2015-06-23 02:16'IF @stopat LIKE '[1-2][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9][^0-9a-z][0-9][0-9]:[0-9][0-9]'PRINT 'TRUE'ELSE PRINT 'FALSE'
↧