M
mary tate
I have a dataset with several tables in it. I want to
append all the records from one table to another, field
names are mostly the same, as least the data I want to
append from the table anyway.
I tried:
INSERT INTO
Customer
customer.*
SELECT
name as Name, address1 as Address1,city as city,
state as state, zipcode as zipcode, homepphone as
homephone, workphone as workphone, lastin as lastin,
notes as notes
FROM
jcust
Customer being the table I want to append the records
into and Jcust being the table I want to append records
from.
I get a syntax error. can you help?
Thanks
Mary
append all the records from one table to another, field
names are mostly the same, as least the data I want to
append from the table anyway.
I tried:
INSERT INTO
Customer
customer.*
SELECT
name as Name, address1 as Address1,city as city,
state as state, zipcode as zipcode, homepphone as
homephone, workphone as workphone, lastin as lastin,
notes as notes
FROM
jcust
Customer being the table I want to append the records
into and Jcust being the table I want to append records
from.
I get a syntax error. can you help?
Thanks
Mary