CSQL 에서 CREATE USER명령을 이용하여 아래와 같이 SQL문을 수행 하였습니다.
csql> create USER root PASSWORD 'root';
csql> ;x
Current transaction has been committed.
1 command(s) successfully processed.
csql> select * from db_user;
csql> ;x
=== <Result of SELECT Command in Line 1> ===
name id password direct_groups groups autho
rization triggers
============================================================================================================
=====================================
'DBA' NULL NULL {} {} db_au
thorization NULL
'PUBLIC' NULL NULL {} {} db_au
thorization NULL
'ROOT' NULL db_password {db_user} {db_user} db_au
thorization NULL
위의 결과에서 보는 것과 같이 계정 "root"를 소문자로 입력했는데 대문자로 나옵니다. 계정은 대소문자
구별을 하지 않는건가요?
그리고 SQL문에서도 대소문자를 구별하는지 알고 싶습니다.
csql> create USER root PASSWORD 'root';
csql> ;x
Current transaction has been committed.
1 command(s) successfully processed.
csql> select * from db_user;
csql> ;x
=== <Result of SELECT Command in Line 1> ===
name id password direct_groups groups autho
rization triggers
============================================================================================================
=====================================
'DBA' NULL NULL {} {} db_au
thorization NULL
'PUBLIC' NULL NULL {} {} db_au
thorization NULL
'ROOT' NULL db_password {db_user} {db_user} db_au
thorization NULL
위의 결과에서 보는 것과 같이 계정 "root"를 소문자로 입력했는데 대문자로 나옵니다. 계정은 대소문자
구별을 하지 않는건가요?
그리고 SQL문에서도 대소문자를 구별하는지 알고 싶습니다.
sql문도 역시 대소문자를 구분하지 않구요.
예를 들면, SELECT * FROM DB_ROOT와 select * from db_root는 동일한 구문입니다.