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 |
Tags
- Andrew Ng
- reactnative
- NextJS
- React
- 클로저
- coursera
- 데이터전송
- 끈기
- 우선순위
- 회고
- scope
- CSS
- 스파르타코딩클럽
- ES6
- 리눅스
- 자료구조
- Sequence
- multer
- 개발공부
- Machine Learning
- Linux
- 자바스크립트
- 1일1문장
- docker
- javascript
- 러닝자바스크립트
- nodejs
- Til
- HTTP
- 객체
Archives
- Today
- Total
목록Oracle (2)
해나아부지 개발일지
OrcaleDB 11g sequence auto_increment 초기화 방법
SQL> SELECT LAST_NUMBER FROM USER_SEQUENCES WHERE SEQUENCE_NAME = '시퀀스명'; NEXTVAL ------- 13 SQL> alter sequence 시퀀스명 increment by -13 minvalue 0; Sequence altered. SQL> select s.nextval from dual; NEXTVAL ---------- 0 SQL> alter sequence s increment by 1; Sequence altered. SQL> select s.nextval from dual; NEXTVAL ---------- 1
Developers/OracleDB
2021. 2. 5. 09:39
nodejs + oracledb error handling ORA-00984 column not allowed here
클라이언트에서 전송하는 req.body string을 SQL 쿼리에 넣기 위해서 `` (백틱) 사용시 (req, res) => { const { a, b, c } = req.body; oracleDb.getConnection({ user: 'user', password: 'password', connectString: 'localhost/XE' }, (err, connection) => { let result = connection.execute( `insert into main values (${a}, ${b}, ${c})` ) console.log(result) }) } [Error: ORA-00984: column not allowed here] 이 발생한다.
Developers/OracleDB
2021. 2. 2. 16:59