insert into table (field1,field2,field3) select '1234','data2','data3' from dual where not exists(select * from table where field1='1234');
'Mysql' 카테고리의 다른 글
중복체크후 insert (0) | 2017.01.12 |
---|---|
테이블 구조 확인시 코멘트까지 보기. (0) | 2013.01.11 |
2012년도 대한민국 집코드 zipcode (mysql) (0) | 2012.07.03 |
explode와 같은 mysql 함수 (0) | 2009.11.18 |
에러 경고 공지모두 출력 (0) | 2009.05.20 |
쿼리시 대소문자로 치환 (0) | 2009.05.20 |
댓글을 달아 주세요