On Fri, August 6, 2010 5:22 pm, Richard Kaye wrote: > Here's a completely untested pseudo-code suggestion, Mike... > > > USE lantable > COPY STRUCTURE TO localtable WITH CDX > SELECT lantable > SCAN > SCATTER FIELDS EXCEPT pkey > SELECT localtable > GATHER > ENDSCAN
Hmmm...I understand your point, but this doesn't exactly ensure the pkeys are the same. I guess I'd have to do a ALTER TABLE to remove the AUTOINC temporarily, then put it back after the COPY completes. Thanks for the ideas. _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

