Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing numeric precision
Message
From
29/03/2007 14:09:57
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01209894
Message ID:
01209975
Views:
20
>>>Is there a SQL-Statement way to change the precision of a field when SELECTING from ond dbf file into another? The source dbf has a numeric field of 20,2 that needs a change to 11,2
>>>thanks
>>
>>Too bad that CAST is not available for you <g>
>>
>>You may try VAL(PADL(myField,11))
>
>i was really hoping to avoid that.
>

You can use Alter Table command to change field size. Make sure that data really fits to new size.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform