I have a temp table that has data I am inserting into a SQL DB table.
There is a column in both tables called PAT_ID. I need to check the SQL
table against the temp table for duplicate data in both columns of both
tables.
In other words if one row in the temp table PAT_ID has a value of 472440 and
the SQL DB table also has a row with PAT_ID = 472440 then I want to delete
the temp table row.
Does that make sense??
Thanks for any insight!!
Mike
m charney at dunlap hospital dot org
Is life the same when it goes backwards?
There is a column in both tables called PAT_ID. I need to check the SQL
table against the temp table for duplicate data in both columns of both
tables.
In other words if one row in the temp table PAT_ID has a value of 472440 and
the SQL DB table also has a row with PAT_ID = 472440 then I want to delete
the temp table row.
Does that make sense??
Thanks for any insight!!
Mike
m charney at dunlap hospital dot org
Is life the same when it goes backwards?
Comment