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
- VirtualBox
- Eclipse
- tomcat
- 단축키
- 줄바꿈 문자
- xargs
- profile
- Windows
- JavaScript
- GIT
- ssh
- bash
- vscode
- Quartz
- Mac
- port
- grep
- find
- Windows 10
- 네트워크
- plugin
- import
- context
- resource
- IntelliJ
- lsof
- maVen
- Source
- netsh
- web.xml
Archives
- Today
- Total
목록dbms_sql (1)
develog
Dynamic Cursor
DECLARE V_SQL VARCHAR2(512); V_CURSOR NUMBER; V_EXECUTED NUMBER; V_COL1 TB_TEMP.COL1%TYPE; V_COL2 TB_TEMP.COL2%TYPE; V_COL3 TB_TEMP.COL3%TYPE; BEGIN V_SQL := ' SELECT COL1, COL2, COL3 FROM TB_TEMP WHERE COL4 = :1 AND COL5 = :2 '; --1. 커서 오픈 V_CURSOR := DBMS_SQL.OPEN_CURSOR; --2. SQL 파싱 DBMS_SQL.PARSE(V_CURSOR, V_SQL, DBMS_SQL.NATIVE); --3. 변수 바인딩 DBMS_SQL.BIND_VARIABLE(V_CURSOR, '1', 'AAA'); DBM..
DB/PLSQL
2012. 4. 17. 13:08