HTML iframe 엘리먼트의 세로스크롤 <iframe scrolling=yes></iframe> 이렇게 하고 iframe src에 들어간 화면의 body 엘리먼트의 style을 잡아준다. <body style="overflow-x:auto;overflow-y:hidden"> 이렇게 하면 가로스크롤만 보이게 된다.
[일:] 2019 11월 19
언어별 캐쉬 방지
참조 : http://ellieya.tistory.com/68 HTML <META http-equiv="Expires" content="-1"> <META http-equiv="Pragma" content="no-cache"> <META http-equiv="Cache-Control" content="No-Cache"> ASP <% Response.Expires = 0 Response.AddHeader "Pragma","no-cache" Response.AddHeader "Cache-Control","no-cache,must-revalidate" %> JSP <% response.setHeader("Cache-Control","no-store"); response.setHeader("Pragma","no-cache"); response.setDateHeader("Expires",0); if (request.getProtocol().equals("HTTP/1.1")) response.setHeader("Cache-Control", "no-cache"); %> response.setHeader("cache-control","no-store"); // http 1.1 response.setHeader("Pragma","no-cache"); // http 1.0 response.setDateHeader("Expires",0); // proxy server 에 cache방지. PHP <? header("Pragma: no-cache"); header("Cache-Control: no-cache,must-revalidate"); ?> … 계속 읽기 언어별 캐쉬 방지
오라클 랜덤 숫자 만들어주기
참조 : http://starlandm.blogspot.jp/2010/09/oracle-%EB%9E%9C%EB%8D%A4%EA%B0%92-%EB%B0%9C%EC%83%9D%EC%8B%9C%ED%82%A4%EA%B8%B0.html SELECT ROUND(DBMS_RANDOM.VALUE(1,17),0) FROM DUAL;
오라클 정규식 regexp_replace
정규식 문자 변형 select regexp_replace('가나다라12345647890', '[0-9]', '')from dual; ==> 결과값 '가나다라'
테이블 칼럼 추가 수정 삭제 스크립트
1. 컬럼 추가 alter table 테이블 add(필드 number(10)); 2. 컬럼명 변경 alter table 테이블 rename column 현재이름 to 변경이름; 3.데이터 타입 변경 alter table 테이블 modify(필드명 varchar(10)); 4.컬럼삭제 alter table 테이블 drop(필드);
오라클 SELECT 엑셀 변환 후 엑셀에서 개행되어 보이도록 처리하기
REGEXP_REPLACE( REGEXP_REPLACE( '어쩌구저쩌구', '\\n', CHR(10) ), '\\r', CHR(13)) n과 r이 바뀌었을지도 모름. ㅡㅡㅋ