Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number Field
Message
 
To
12/12/2000 10:31:15
Julie Ball
Gardner Publications, Inc.
Cincinnati, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00452220
Message ID:
00452226
Views:
13
>I need to create a number field, (length-7, decimal,2) in a query, how do i do that. Rate is the field that i am trying to create.
>
>SELECT pdsub.*, SPACE(1) AS ratecd, SPACE(7)AS rate;
> FROM pdsub.dbf;
> INTO TABLE wkpaid.dbf
>
>
>Thank you in advance for your help.

Try it:

SELECT pdsub.*, SPACE(1) AS ratecd, 0000.00 AS rate;
FROM pdsub.dbf INTO TABLE wkpaid.dbf

Rodolfo Duarte
Brazil.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte
Previous
Reply
Map
View

Click here to load this message in the networking platform