udate aa set FROM_UNIXTIME(wr_4,'%Y-%m-%d %H:%i:%s') where wr_4 <> '';
로그인 후 평가할 수 있습니다
답변에 대한 댓글 2개
b
bonobono
7년 전
update `g5_write_test2` set FROM_UNIXTIME(wr_4,'%Y-%m-%d %H:%i:%s') where wr_4 <> '';
update는 오타신거같아서 고쳤는데 오류납니다..
SQL 질의:
UPDATE `g5_write_test2` SET FROM_UNIXTIME( wr_4, '%Y-%m-%d %H:%i:%s' ) WHERE wr_4 <> ''
MySQL 메시지: 도움말
#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 '(wr_4,'%Y-%m-%d %H:%i:%s') where wr_4 <> ''' at line 1
�
하찌
7년 전
update aa set wr_4 = FROM_UNIXTIME(wr_4,'%Y-%m-%d %H:%i:%s') where wr_4 <> '';
입니다 set 앞에 wr_4 = 를 빼먹었네요 ㅜㅜ
update는 오타신거같아서 고쳤는데 오류납니다..
SQL 질의:
UPDATE `g5_write_test2` SET FROM_UNIXTIME( wr_4, '%Y-%m-%d %H:%i:%s' ) WHERE wr_4 <> ''
MySQL 메시지: 도움말
#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 '(wr_4,'%Y-%m-%d %H:%i:%s') where wr_4 <> ''' at line 1