Hi,
I am trying to insert data from one DB into another DB with the following statement:
insert into db2..tblparty
select * from db1..tblparty
join tbldocument
on tbldocument.irecordid = tblparty.irecordid
where tbldocument.irecordid between 1 and 1000
I get an error: Insert Error: Column name or number of supplied values does not match table definition.
Although both tables have 9 columns which are set up the exact same.
Is there a way to do this without listing each column individually? I have about 30 tables to insert and each table has a lot of columns.
Thanks,
Brian
I am trying to insert data from one DB into another DB with the following statement:
insert into db2..tblparty
select * from db1..tblparty
join tbldocument
on tbldocument.irecordid = tblparty.irecordid
where tbldocument.irecordid between 1 and 1000
I get an error: Insert Error: Column name or number of supplied values does not match table definition.
Although both tables have 9 columns which are set up the exact same.
Is there a way to do this without listing each column individually? I have about 30 tables to insert and each table has a lot of columns.
Thanks,
Brian