Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert from char to datetime
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00974367
Message ID:
00974378
Vues:
28
???
lcstr='20041223'
?ctod(substr(lcstr,5,2)+"/"+substr(lcstr,7,2)+"/"+substr(lcstr,1,4))
>Hi All,
>
>Can anyone help me with the conversion of '20041223' string to datetime data type in the following format 12/31/2004 ?
>
>TIA,
>Daniel M.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform