MySql 컬럼 unsigned 선언 의미

CREATE TABLE `DEPT` (
    `id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
    ...
    ...
    )



int의 범위에서 반은 쓰질 않는다.

이럴때 unsigned를 선언해 주면 그 범위가 양수로 옮겨진다.

-2147483648 ~2147483647 에서 0 ~ 4294967295 로 옮겨가는 것이다

Popular posts from this blog

youtube download

com.gpki.secureweb.GPKISecureWEBException: ErrCode=1507,ErrMsg=[GPKI_CMS_ProcessEnvelopedData] 해당 인증서로는 데이터를 풀 수 없습니다.

rexpert 공식필드(javascript) 점검일 주기 계산