Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PADL() equivalent in SQL Server
Message
From
10/04/2003 10:30:55
 
 
To
10/04/2003 10:26:00
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00776019
Message ID:
00776050
Views:
32
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform