{{theTime}}

Search This Blog

Total Pageviews

SQL to eliminate duplicates while inserting rows from source table to destination table

insert into DestinationTable
select *  from SourceTable a
 where not exists ( select 0 from DestinationTable b where b.primaryKey= a.primaryKey )

No comments:

ImmutableList Example

private ImmutableList<String> getServerProps(){       ImmutableList.Builder<String> serverProps = ImmutableList.builder();      ...