Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to append a table to other table?
Message
From
25/03/2002 12:30:24
 
 
To
25/03/2002 10:55:48
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00636849
Message ID:
00636904
Views:
15
Ah, sorry, I missed one point. The field name of the 2 tables are not the same.
I want:
insert into tableB (username, email) select loginname as username, loginemail as email from tableA

That is why I can't just use append.
Thanks.

>>I want to append all the data from table A to table B.
>>I thought I can use SQL like:
>>insert into tableB (username, email) select username, email from tableA
>>but the help file shows me that "insert into ...select" statement seems not work in VFP. Right? What should I do?
>
>
>use TableB
>append from TableA
>
Power Wong
Every problem will have a solution, the only problem is that can you find it out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform