Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select into Command
Message
From
17/05/2002 07:58:40
 
 
To
17/05/2002 06:49:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00658059
Message ID:
00658080
Views:
18
>Hi All,
>
>I want to select a few fields from a table into a temporary table along with
>a field that is not in the first table.
>
>e.g
>
>SELECT MyTable Field1, Field2, Field3 FROM MyTable + OtherField
> INTO TemporaryTable
>
>Can this be done?
>

Use an expression to fill in the field. Suppose you need an extra 20 bytes length char field:
SELECT Field1, Field2, Field3, SPACE(20) AS Field4 FROM MyTable INTO TemporaryTable
----------------------------------
António Tavares Lopes
Previous
Reply
Map
View

Click here to load this message in the networking platform