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 when the UDF in which ISNUMERIC
is declared WITH SCHEMABINDING
and is called within a stored proc (I've got a lot of work to do to distill it down into a test case, but my first need is to replace it with something reliable).
Any recommendations on good, efficient replacements for ISNUMERIC()
. Obviously there really need to be variations for int
, money
, etc., but what are people using (preferably in T-SQL, because on this project, I'm restricted to SQL Server because this is a high-volume SQL Server to SQL Server data processing task)?