Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Isnumeric Bug
Message
 
 
À
20/09/2004 10:26:43
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Divers
Thread ID:
00942046
Message ID:
00944008
Vues:
26
I've no idea what you're saying. The problem is that you expect ISNUMERIC() function to do what it's not design to do. In April 2004 issue of Universal Thread Magazine I published Improved ISNUMERIC function. It should give you an idea how to create an UDF that suits your requirements.

>You are right. But it is very special.
>
>select cast(cast('5.67' as real) as int)
>select cast(cast('5' as real) as int)
>select cast(cast('-' as real) as int)
>
>
>The first two will work. Last one does work.
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform