Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PADL() equivalent in SQL Server
Message
De
10/04/2003 10:30:55
 
 
À
10/04/2003 10:26:00
Liam O'Hagan
O'Hagan Programming Ltd
Irlande
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00776019
Message ID:
00776050
Vues:
35
>Left out the second arg for IsNull()...
>
>
SELECT IsNull(Replicate(' ',20-len(STR(MONTH(AddDate)))),'')+STR(MONTH(AddDate)) FROM News
This doesn't work either:
SELECT ISNULL(REPLICATE('0',2-LEN(STR(MONTH(AddDate)))),'')+STR(MONTH(AddDate)) FROM News
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform