Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL column too narrow
Message
 
To
09/07/2012 12:45:09
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 7
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01547895
Message ID:
01547898
Views:
49
>Hi. One of my sql result columns is only 1 character wide (numeric). I am thinking that it is because the first group value (for this field--a calculated one) is 0. How would I force the width of this field. Keep in mind that I am in Fox 7.
>
>Thanks, Randy


Something like that:
SELECT 000000000.00 AS Fld
will give you N(12,2) as result.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform