Home Forums SQL Server 2012 SQL 2012 - General Help me with the regular expression RE: Help me with the regular expression
ZZartin
SSC-Dedicated
Points: 30894
More actions
February 28, 2018 at 12:33 pm
#1981534
Another option is to use TRY_CONVERT() if you want to make sure it'll actually convert to something in SQL server
select 'yes'where TRY_CONVERT(decimal(29, 9), @SearchVal) IS NOT NULL