针对于已查询出数据结果, 且在程序中执行Sql命令, 而非数据库中的存储过程
INSERT INTO TableName (Column1, Column2, Column3, Column4, Column5)SELECT Value1, Value2, Value3, Value4, Value5WHERE NOT EXISTS (SELECT PrimaryName FROM TableName WHERE PrimaryName = PrimaryValue)