insert into TN_JOBS(JAVA_ID,SERVER_IP,SERVER_PORT,JOB_CODE,JOB_NAME,JOB_START_TIME,JOB_MSG,JOB_STATUS,JOB_END_TIME)
SELECT ‘JOB001‘,‘‘,‘‘,‘‘,‘‘,‘‘,‘‘,‘‘,‘‘
where not exists
(select * from TN_JOBS b where b.JAVA_ID=‘JOB001‘)
原文地址:https://www.cnblogs.com/shihaibin821/p/8461790.html
时间: 2024-10-11 12:00:49