Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting Char(12) to Numeric
Message
De
27/03/2011 15:49:56
 
 
À
27/03/2011 15:34:07
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01505130
Message ID:
01505138
Vues:
45
>OK....well, one way is to use the sql REPLACE to convert the hypens to a blank...somethign like
>
>
> cast( REPLACE(Telephone, '-','') as int)

Thanks, this is also another approach I should have considered.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform