| Subject: | Re: Importing and Updating Non-Duplicate Records from 2 Tables |
|---|---|
| From: | "Dan Bracuk" <webforumsuser@xxxxxxxxxxxxxx> |
| Date: | Wed, 20 Feb 2008 14:16:54 +0000 (UTC) |
| Newsgroups: | macromedia.coldfusion.database_access |
Forget the duplicates for right now. We'll do something easy first. Run your 2nd query first. Then, when you run the qryMember query, add this to the where clause. and membernumber not in (<cfqueryparam list="yes" value="#valuelist(newsmember.membernumber)# cfsqltype="cf_sql_integer">) Then, for your inserts, just loop through the qryMember query. You don't need any if/else logic. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Importing and Updating Non-Duplicate Records from 2 Tables, IraMSN |
|---|---|
| Next by Date: | Re: Importing and Updating Non-Duplicate Records from 2 Tables, IraMSN |
| Previous by Thread: | Importing and Updating Non-Duplicate Records from 2 Tables, IraMSN |
| Next by Thread: | Re: Importing and Updating Non-Duplicate Records from 2 Tables, IraMSN |
| Indexes: | [Date] [Thread] [Top] [All Lists] |