违反了 PRIMARY KEY 约束“不能在对象“插入重复键怎么解决

insert into t_stock_factor select * from t_stock_factor_mat a where not exists(select 1 from t_stock_factor b where a.stock_code=b.stock_code and a.stock_date=b.stock_date and a.factor_name=b.facto
相关文章
相关标签/搜索