Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PADL() equivalent in SQL Server
Message
 
 
To
10/04/2003 11:10:40
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00776019
Message ID:
00776092
Views:
32
>>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform