MySQL / MariaDB 예약어 컬럼을 취급하는 방법, update 실행시에 sql 1064 발생


MySQL / MariaDB 예약어 컬럼을 취급하는 방법, update 실행시에 sql 1064 발생

사례연구 어떤 붕신같은 놈이 테이블의 컬럼명으로 예약어를 사용했다. DB설계자 어딘노?

확 궁디를 주 차뿔라, 예약어는 다음과 같은 단어가 있다. MySQL reserved words 예약어 목록 mysql reserved words 9.3 Keywords and Reserved Words Keywords are words that have significance in SQL.

Certain keywords, such as SELECT , DELETE , or BIGINT , are reserved and require special treatment for use as identifiers such as table and column names. This may also be true for the names of built-in functions.

Nonreserved keyword... dev.mysql.com 【상기 사이트에서 확인 가능】 예약어 컬럼을 그대로 사용할 경우 다...


#DB설계 #mariaDB #mysql #mysql예약어 #reservedwords #sql1064 #예약어컬럼

원문링크 : MySQL / MariaDB 예약어 컬럼을 취급하는 방법, update 실행시에 sql 1064 발생