본문 바로가기
반응형

Oracle245

Regular Expression Metacharacters Metacharacters Meaning Examples \ Indicates that the match character is a special character, a literal, or a backreference. (A backreference repeats the previous match.) \n matches the newline character \\ matches \ \( matches ( \) matches ) ^ Matches the position at the start of the string. ^A matches A if A is the first character in the string. $ Matches the position at the end of the string. .. 2018. 10. 28.
정규표현식의 기본 문법 * 출처 : http://skynaver.tistory.com/entry/Oracle-Study-20080825월 Oracle Database 10g에 추가된 새로운 기능을 이용하여 문자 데이터의 검색, 처리 능력을 극 적으로 개선할 수 있습니다. 정규 표현식(regular expression)이라 불리는 이 기능은, 텍스트 패턴을 기술하기 위한 일종의 표기법으로, 이미 오래 전부터 다양한 프로그래밍 언어와 UNIX 유틸리티를 통해 지원되어 왔습니다. 정규 표현식이란? 정규 표현식은 하나 또는 그 이상의 문자열과 메타문자(metacharacter)로 구성됩니다. 가장 단순한 형태의 정규 표현식은 cat과 같은 단 하나의 문자열로만 구성될 수 있습니다. 이 정 규 표현식은 문자 c와 문자 a, 문자 t의 .. 2018. 10. 28.
[오라클] 테이블 전치 메모리상의 템프 테이블 생성(실제 테이블생성아님)하여 테스트함. 사용하고자 하는 select구문 위해서 같이 실행 1. Hierarchical Queries(계층구조)를 사용 WITH BACK AS ( SELECT 'mbc' name, '2005' year1, 'A' gubun FROM DUAL UNION ALL SELECT 'mbc' , '2006' , 'B' FROM DUAL UNION ALL SELECT 'mbc' , '2007' , 'C' FROM DUAL UNION ALL SELECT 'sbs' , '2007' , 'C' FROM DUAL ) --1. Hierarchical Queries(계층구조)를 사용 SELECT name ,SUBSTR(MAX(SYS_CONNECT_BY_PATH(gubun,.. 2011. 1. 4.
오라클 랜덤 샘플링 ( Oracle Random Sampling ) * 100개를 랜덤 샘플링하는 방법. 1. SASMPLE 명령어 이용 Oracle Program select count(*) from EORD01 sample(10) * 10%를 랜덤 샘플링(추출하는 숫자에 맞춰서 정함) where rownum 2011. 1. 4.
Oracle Regular Expressions 완전정복(Open made ... Oracle Regular Expressions 완전정복(Open made 오동규컨설턴트) 오라클 정규식 이란? 오라클_Regular_Expresssions_완전정복.pdf Pattern-Matching-Rule 유닉스의 정규식과 같음. 다양한 메타문자 제공. 강력한 Text 분석도구로서 Like 의 한계를 극복함. * 통계분석연구회 : http://cafe.daum.net/statsas* 백승민홈페이지 : http://www.statwith.pe.kr 백승민님의 파란블로그에서 발행된 글입니다. 2011. 1. 2.
반응형