excel中有1000条数据;
字段 id name group,...
oracle数据库有几十万条数据:
字段 id name group...将excel中的数据插入数据库中,根据excel中的group和数据库group对比,
group相同的 先把数据库的删除再插入,不同的直接插入。 怎么写效率最高
字段 id name group,...
oracle数据库有几十万条数据:
字段 id name group...将excel中的数据插入数据库中,根据excel中的group和数据库group对比,
group相同的 先把数据库的删除再插入,不同的直接插入。 怎么写效率最高
再用merge into ..when matched update..when not matched insert