Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stumped on SQL
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01063164
Message ID:
01063177
Views:
17
>try
>
>SELECT PADR(CHRTRAN(DealNumber,[ 0123456789],[]),10) AS TrimmedDeal
>


Boris,

I was excited since this was a great solution, however I found later in the data that it ruined the results for a deal number like BPB2-SP2, where I would want the first "2" to remain intact.

Any ideas?

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Previous
Reply
Map
View

Click here to load this message in the networking platform