Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replacing one field with the numeric equivalent of a fie
Message
 
 
À
26/03/2008 15:03:49
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01305881
Message ID:
01305898
Vues:
18
This message has been marked as a message which has helped to the initial question of the thread.
>I adjusted to:
>
>
>UPDATE Client SET Field1=CAST(Field2 AS INT)
>
>
>But, I have a syntax error. It be close however. :)

It's valid SQL statement but it will only work when Field2 stores character representetaion of integer. See http://berezniker.com/content/pages/sql/microsoft-sql-server/isnumericex-udf-data-type-aware for more info.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform