답변 3개
채택된 답변
+20 포인트
추천하지 않습니다만.
https://sysadm.kr/312
BiHon
5년 전
- https://mariadb.com/kb/en/identifier-names/
- https://dev.mysql.com/doc/refman/8.0/en/identifiers.html
Unquoted
The following characters are valid, and allow identifiers to be unquoted:
- ASCII: [0-9,a-z,A-Z$_] (numerals 0-9, basic Latin letters, both lowercase and uppercase, dollar sign, underscore)
- Extended: U+0080 .. U+FFFF
Quoted
The following characters are valid, but identifiers using them must be quoted:
- ASCII: U+0001 .. U+007F (full Unicode Basic Multilingual Plane (BMP) except for U+0000)
- Extended: U+0080 .. U+FFFF
- Identifier quotes can themselves be used as part of an identifier, as long as they are quoted.
`(backtick)을 붙여 생성 및 접근 등이 가능합니다.
예) CREATE TABLE `test-table` (
`test-field` INT(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`test-field`)
);
* OS 및 설정에 따라 대소문자 구분
5년 전
테이블 이름에는 영문과 숫자와 _, $정도만 가능한것으로 알고 있습니다.
전체를 숫자로 쓸수 없고 등 규칙이 있습니다.
답변을 작성하려면 로그인이 필요합니다.