INSERT //오늘날짜 자동입력 (sysdate)insert into sale_plan values('1309094885','S12011','xxxxxx',5,25000000,'1/4','1234',sysdate); //기타 포맷형식으로 입력insert into sale_plan values('1309094885','S12011','xxxxxx',5,25000000,'1/4','1234',to_date('09-09-2013 12:14:11','mm-dd-yyyy hh24:mi:ss')); SELECT //포맷에 맞춰서 출력하기select to_char(writerdate, 'yyyy-mm-dd hh24:mi:ss') from sale_plan; 출처 http://blog.naver.com/xerosda..
select initcap(ID) from student where deptno1 = 201; select initcap('Pretty girl') from dual; select name 이름, id, lower(ID) 소문자, upper(id) 대문자 from student where deptno1 =201; select name 이름, id, length(id) 글자수 from student where length(id) > 9; select name 이름, length(name), lengthb(name) from student where deptno1 = 201; select concat(name, position) from professor where deptno=101; select subs..