Help for this page

Select Code to Download


  1. or download this
    create table #HOLD (
       ...
    ...
       ...
       record_state  char(1)
    )
    
  2. or download this
    -- (a) Report new values
    select distinct property 
    ...
    --     add new dictionary items)
    delete #HOLD 
    where property not in (select property from table2)
    
  3. or download this
    -- Alter any records needing update
    update table1 set
    ...
       select PrimaryKeyColumn
       from table1
    )