Microsoft
Software
Hardware
Network
Question : Appending to table with primary key vfp
Hi:
I want to be able to append new records to an existing table.
However, I do not want to duplicate any append so have set a primary key in the existing table.
FoxPro does not (I believe) allow append of all but duplicated records - it stops the append.
How can I either write a query that deletes those records common to both tables or force an append, discarding common records?
Thanks!!
Answer : Appending to table with primary key vfp
insert into table1 select * from table2 where PrimaryKeyField not in (select PrimaryKeyField from table1)
Random Solutions
upgrading compatability level in SQL 2000
Home drive showing root share instead of user share
t-sql arithmetic overflow error on update
Slow upload behind ISA Server 2004
exchange 2010 installation
Update Query (or VBA) which updates a database with the date of the last file created in a folder
MessageBox.Show problem
How do I convert a Tab Separated Format .TXT file into an Excel 2007 CSV file?
Mod calculations and "bad number "
' when building string