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
- Til
- 객체
- HTTP
- 스파르타코딩클럽
- reactnative
- CSS
- docker
- 데이터전송
- React
- 끈기
- ES6
- Machine Learning
- 1일1문장
- Andrew Ng
- NextJS
- multer
- 회고
- 러닝자바스크립트
- coursera
- scope
- Linux
- 우선순위
- 리눅스
- javascript
- nodejs
- 클로저
- 개발공부
- 자료구조
- 자바스크립트
- Sequence
Archives
- Today
- Total
해나아부지 개발일지
nodejs + oracledb error handling ORA-00984 column not allowed here 본문
Developers/OracleDB
nodejs + oracledb error handling ORA-00984 column not allowed here
__APPA 2021. 2. 2. 16:59클라이언트에서 전송하는 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' 카테고리의 다른 글
OrcaleDB 11g sequence auto_increment 초기화 방법 (0) | 2021.02.05 |
---|---|
오라클 11g id auto increment 적용하기 (0) | 2021.02.02 |
Comments