설문조사
PostgreSQL/PPAS 관련 듣고 싶은 교육은
결과보기
EnterpriseDB
총 게시물 95건
목록 글쓰기 이전글 다음글

ip 저장 전용 컬럼 타입

글쓴이 : PostgresDBA   날짜 : 2013-06-24 (월) 15:37   조회 : 7192 인쇄
설명이 필요 없습니다. 예제를 보시죠^^

scottdb=> create table t_ip(ip inet);
CREATE TABLE
scottdb=> insert into t_ip values('127.0.0.1');
INSERT 0 1
scottdb=> insert into t_ip values('10.10.10.80');
INSERT 0 1
scottdb=> select * from t_ip;
     ip
-------------
 127.0.0.1
 10.10.10.80
(2 rows)


scottdb=>


댓글목록

목록 글쓰기 이전글 다음글

postgresdba.com