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
Restricted access domain user group with special permissions for Access MDB/MDE files
How to configure a cisco router to act like an IPV6 DHCP server?
Get item out of array
Javascript function needs a tweak
Upgrading from server 2003 domain to server 2008.
Opening Attachments in Outlook
VPN tunnel between Cisco ASA 5520 and Nokia IP1260 - HA
Choose Toolbox Items - only shows Maintenance Task
detecting file extension or type
Adding a column of cumulative counts in SAS for subgroups within a larger list