고수님들 오류좀 봐주세요!! sql 정보
고수님들 오류좀 봐주세요!! sql본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 :
오류 메세지
update set gr_id = '05', wr_subject = 'teset', wr_content = 'setset', wr_name = '오로라', img = '0' where bo_table = '05_2' and wr_id = '13' and btype = '0'
1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set gr_id = '05', wr_subject = 'teset', ' at line 2
error file : /bbs/write_update.php
---------- 어느날 갑자기 위와 같은 오류가 나타 나네요 고수님들의 조언 부탁드립니다.
오류 주소 :
오류 메세지
update set gr_id = '05', wr_subject = 'teset', wr_content = 'setset', wr_name = '오로라', img = '0' where bo_table = '05_2' and wr_id = '13' and btype = '0'
1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set gr_id = '05', wr_subject = 'teset', ' at line 2
error file : /bbs/write_update.php
---------- 어느날 갑자기 위와 같은 오류가 나타 나네요 고수님들의 조언 부탁드립니다.
댓글 전체
update set gr_id = '05', wr_subject = 'teset', wr_content = 'setset', wr_name = '오로라', img = '0' where bo_table = '05_2' and wr_id = '13' and btype = '0'
set 앞에 테이블 명을 적어 주셔야 할듯 한데요
update 테이블명 set 내용 where 내용 이렇게 되야 업데이트가 됩니다.
set 앞에 테이블 명을 적어 주셔야 할듯 한데요
update 테이블명 set 내용 where 내용 이렇게 되야 업데이트가 됩니다.
감사합니다. 찾았네요 다른 파일 부분에서 오류가 있었습니다. 감사합니다. ^^