title: Compare and Insert data into table
body: <p>I have two tables one is temp table and other one is database table.I need to compare two tables based on MM and ProjectID.If data is present in @mtts but not in tbl_snapshot then i have to insert it in tbl_sanpshot</p>
  
  <blockquote>
    <p>@mtts
    table([MM],[YYYY],[month_Start],[month_Finish],[ProjectID],[ProjectedBillable],[ProjectedPayable],[ActualBilled],[ActualPaid],[Total_To_Bill],[Total_To_Pay])</p>
    
    <p>tbl_Snapshot
    ([MM],[YYYY],[month_Start],[month_Finish],[ProjectID],[ProjectedBillable],[ProjectedPayable],[ActualBilled],[ActualPaid],[Total_To_Bill],[Total_To_Pay]).</p>
  </blockquote>
  
  <p>Iam new to sql.so please help me on this</p>