Efficient ISNUMERIC() replacements on SQL Server?

后端 未结 11 2081
失恋的感觉
失恋的感觉 2020-11-27 06:02

So I just spent 5 hours troubleshooting a problem which turned out to be due not only to the old unreliable ISNUMERIC but it looks like my problem only appears

11条回答
  •  北荒
    北荒 (楼主)
    2020-11-27 06:55

    Following the .NET CLR route, you could go with a regular expression, particularly if you expect a certain range of numbers.

    SQL 2005 and Regular Expressions

提交回复
热议问题