Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PADL() equivalent in SQL Server
Message
 
 
À
10/04/2003 11:10:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00776019
Message ID:
00776092
Vues:
34
>>Try
SELECT REPLACE(STR(MONTH(AddDate),2), ' ', '0')
>
>This is much better. But, again, it puts everything in a memo field. Is there a way to have that in a character field?

Try to cust it to character type
SELECT CAST(REPLACE(STR(MONTH(AddDate),2), ' ', '0') AS char(2))
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform