.NET TEAM - MindVirus
close
프로필 배경
프로필 로고

.NET TEAM - MindVirus

  • 분류 전체보기 (194)
    • 통계분석(Statistics) (1)
      • SPSS (1)
    • IT Talk (6)
    • Security (3)
      • 정보보호개론 (3)
    • Program (105)
      • C# (27)
      • ASP.NET (10)
      • ADO.NET (0)
      • CSS (1)
      • JavaScript (12)
      • Ruby (3)
      • XML (19)
      • Programming (13)
      • E-Test (Project) (20)
    • Network (2)
    • DATABASE (14)
    • Server(System) (1)
    • Advertise (1)
      • 음악학원소개!! (1)
    • ETC (58)
      • Download (13)
      • 면접정보 (3)
      • Think (17)
      • 커뮤니티 (17)
      • 비공개 (8)
  • HOME
  • TAGS
  • MEDIA
  • LOCATION
  • GUESTBOOK
  • ADMIN
  • WRITE

오라클 정보 조회하기

※ Oracle SID 확인 SQL> select instance from v$thread; ※ Oracle DB_NAME 확인 SQL> select name from v$database; ※ Oracle User 확인 SQL> select * from all_users; ※ 등록된 User 목록 보기 SQL> select username, user_id from dba_users order by username; ※ User가 소유한 모든 테이블 보기 SQL> select table_name from user_tables; ※ 사용자 정보 확인 SQL> select username, default_tablespace,temporary_tablespace from dba_users; ※ 오브젝트 조회 S..

  • format_list_bulleted DATABASE
  • · 2010. 5. 6.
  • textsms

오라클 오류사항 및 조치법

ORA-01722 : 수치가 부적합합니다. 이 오류는 넘버형에 강제로 스트링 타입을 넣을 때 발생하는 오류이다.

  • format_list_bulleted DATABASE
  • · 2009. 11. 27.
  • textsms

ORA-01403: no data found 대처

프로시져 또는 트리거 실행 시 SELECT INTO에서 조회된 쿼리의 ROW가 존재하지 않을때 ORA-01403 에러발생 조치 1. Select 절에서 Row가 없는 경우 Exception으로 뺀다. 예) select rtptno into v_rtptno from mosstbat where pt_no = :new.q_patientno; 결과가 no_data_found로 나온 경우 아래와 같이 exception을 추가해 준다. begin select rtptno into v_rtptno from mosstbat where pt_no = :new.Q_PATIENTNO; exception when no_data_found then null; when others then null; end;

  • format_list_bulleted DATABASE
  • · 2009. 10. 5.
  • textsms

오라클 힌트와 인덱스를 이용한 최대값 MAX 구하기

오라클 힌트와 인덱스를 이용한 최대값 MAX 구하기 index_desc 우선 구하고자 하는 컬럼에 index를 걸어 놓는다 예) CREATE INDEX [index_name] ON [column_name]; SELECT /*+ index_desc(A [index_name]) */ [column_name] FROM [table_name] A WHERE [column_name] > 0 AND rownum=1; 설명 /*+ 부터 */ 까지는 힌트를 적용시키는 부분이다. 내용을 보면 index_desc는 인덱스를 DESC로 읽으라는 뜻 A는 테이블 앨리아스 WHERE절의 [column_name]>0 조건을 주는 이유는 해당 컬럼의 인덱스를 사용하기 위해서다 오라클에서는 저 부분이 없어도 인덱스를 사용한다고 하였..

  • format_list_bulleted DATABASE
  • · 2009. 5. 23.
  • textsms

Oracle 명령어 정리

오라클 필드 (Alter table) 추가/수정/삭제 alter table 테이블명 modify(컬럼명 변수형); alter table 테이블명 drop(컬럼명); alter table 테이블명 add(컬럼명 변수형); EX) alter table test_tb add(user VARCHAR2(30)); 하루더하기 Select sysdate + 1 from dual 시간더히기 Select sysdate + 1/24 from dual 분더히기 Select sysdate + 1/(24*60) from dual 초더히기 Select sysdate + 1/(24*60*60) from dual

  • format_list_bulleted DATABASE
  • · 2009. 1. 13.
  • textsms

DLL 'oramts.dll'을(를) 로드할 수 없습니다. 지정된 모듈을 찾을 수 없습니다.

아래 링크에서 받을수 있습니다. http://www.oracle.com/technology/software/tech/windows/ora_mts/htdocs/utilsoft.html

  • format_list_bulleted DATABASE
  • · 2008. 11. 1.
  • textsms
  • navigate_before
  • 1
  • 2
  • 3
  • navigate_next
공지사항
전체 카테고리
  • 분류 전체보기 (194)
    • 통계분석(Statistics) (1)
      • SPSS (1)
    • IT Talk (6)
    • Security (3)
      • 정보보호개론 (3)
    • Program (105)
      • C# (27)
      • ASP.NET (10)
      • ADO.NET (0)
      • CSS (1)
      • JavaScript (12)
      • Ruby (3)
      • XML (19)
      • Programming (13)
      • E-Test (Project) (20)
    • Network (2)
    • DATABASE (14)
    • Server(System) (1)
    • Advertise (1)
      • 음악학원소개!! (1)
    • ETC (58)
      • Download (13)
      • 면접정보 (3)
      • Think (17)
      • 커뮤니티 (17)
      • 비공개 (8)
최근 글
인기 글
최근 댓글
태그
  • #xml
  • #DOM
  • #ASP.NET
  • #마샬링
  • #Ajax
  • #c#
  • #JavaScript
  • #프로그래밍
  • #.NET
  • #Remoting
전체 방문자
오늘
어제
전체
Copyright © .NET TEAM - MindVirus All rights reserved.
Designed by JJuum

티스토리툴바