Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number Field
Message
From
12/12/2000 10:39:08
 
 
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:
00452227
Views:
17
>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.

assuming that ratecd should be c(1)
Select pdsub.*, Space(1) as ratecd, 0000.00 as rate ;
    from pdsub ;
    into table wkpaid
note: the decimal point is significant in the length
Insanity: Doing the same thing over and over and expecting different results.
Previous
Reply
Map
View

Click here to load this message in the networking platform