Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Check if record exists in table for tables

$
0
0

Need to check if record exists or not.

 Target: Once table is for people which is at the master level.

I have second table which records the phone numbers for people. Primary key from master table is being passed to child table and one record can have multiple phone numbers.

SOurce: I have view from source where i m loading data from source to target. Now i need to compare source and target to see if record exists . I need to compare view with master table and master table with phone numbers table.

Any help appreciated.


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>