Can I copy all of client1's records to a new client client2 with SQL?
Ie, copy all the data but with a different clientId supplied by my program.

Something like :

Insert into clientfile
select *from clientfile where clientid = client1 ( but replacing client1 with client2)

How should I protect against duplicate records? Normally the client2 will never exist at this time but you never know!

Thanks.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.