Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Like loading the zeros in SQL
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01119748
Message ID:
01119773
Views:
15
>Or just
>
>
>select STR(E.anomat,4)+'-'+RIGHT('0000'+ALLTRIM(STR(E.numest)),4) as matricula
>
In this case just^2.
PADL(E.numest,4,"0")
over
RIGHT('0000'+ALLTRIM(STR(E.numest)),4)
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Reply
Map
View

Click here to load this message in the networking platform