SQL2008. 1. 7. 16:52
select replace(fieldnm, chr(13)||chr(10), '') from table_name;
Posted by 영화처럼
Javascript2007. 11. 15. 11:09
function func_radio() {
  thisForm = document.forms[0];
  var v_Mode ="";
  for(i=0;i< thisForm.p_mode.length;i++) {
    if (thisForm.p_mode[i].checked)
      v_Mode = thisForm.p_mode[i].value;
    }
  if (v_Mode == "A")
    location.href = "AAA.AAA";
  else
    location.href = "BBB.BBB";
}
Posted by 영화처럼
PL/SQL2007. 11. 2. 15:21

Bad Request
Your browser sent a request that this server could not understand.
mod_plsql: /dat/proc4106.PROCESS HTTP-400 Too many arguments passed in. Got 2876 parameters. Upper limit is 2000


--------------------------------------------------------------------------------

Oracle-Application-Server-10g/10.1.2.2.0 Oracle-HTTP-Server Server at Port 80

Posted by 영화처럼
PL/SQL2007. 8. 23. 15:06

test0001.query_param?p_test=1
test0001.query_param?p_test=1&p_test2=

procedure query_param
( p_test in varchar2 default null,
  p_test2 in owa_util.ident_arr
)
is
begin
 htp.p('test');
end ;

위의 두 경우에서 첫 번째는 에러,
두 번째는 성공.
owa_util.ident_arr를 사용하는 경우에는 해당 param을 반드시 명시해야 한다.

Posted by 영화처럼
SQL2007. 7. 5. 16:02
select ceil(101.6), floor(101.6), round(101.6) from dual;

CEIL(101.6) FLOOR(101.6) ROUND(101.6)
102            101                 102


ceil - 현재 수에 가장 가까운 현재보다 큰 정수
floor - 현재 수에 가장 가까운 현재보다 작은 정수
round - 현재 수를 반올림
Posted by 영화처럼

사랑합니다. 편안히 잠드소서