Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ALLTRIM syntax not support with SQL Server
Message
 
 
To
10/04/2003 09:05:03
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00775890
Message ID:
00775992
Views:
18
>>I doesn't generate extra spaces in VFP8 for me.
>
>I have it all the time. The following, either from a datetime or date field, generates some extra spaces between the 4 digits of the date and the letter A when being printed:
>
>
>SELECT LTRIM(RTRIM(STR(YEAR(AddDate)))) AS lcChampNumero FROM News
>? lcChampNumero+'A'
>
I was referencing to the query I suggested
SELECT STR(YEAR(AddDate),4) AS lcChampNumero FROM News
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform