Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- garbagecollection
- object
- 생성자
- run()
- super
- fuction
- Polymorphism
- override
- abstractclass
- class
- Vector
- 콘크리트클래스
- start()
- 추상클래스
- eclipse
- arguments
- Hashtable
- value
- hashCode
- 객체형변환
- reference
- MSA
- methodArea
- string
- ALTER
- overload
- concreteclass
- constantnumber
- Eureka
- hamobee
Archives
- Today
- Total
뇌운동일지
[Oracle] PL/SQL 본문
PL/SQL
제어구조가 포함된 SQL
Procedural Language extension to SQL
PL/SQL
declare
변수선언
begin
SQL
end ;
PL/SQL (파일에 작업) => 저장 프로시저 (DB에 작업) => 패키지
=> 저장 함수 (return값이 있는 프로시저)
- 실행하는 법
@파일명
exec 프로시저명
exec 팩.함
set serveroutput on
declare
v_condition number := 1;
// 미완료
exec 팩.프
ed test
-> 자동으로 test.sql 파일이 생성됨. 편집기 open
@test
실행하기
'DB > Oracle' 카테고리의 다른 글
[Oracle] 저장 프로시저와 함수 (0) | 2020.06.01 |
---|---|
[Oracle_tips] 경고: 컴파일 오류와 함께 프로시저가 생성되었습니다. (0) | 2020.06.01 |
[Oracle_tips] ORA-12560: TNS:프로토콜 어댑터 오류 (0) | 2020.06.01 |
[Oracle] sequence (0) | 2020.06.01 |
[Oracle] 데이터 정의어 연습문제 (0) | 2020.05.29 |
Comments