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 |
Tags
- javascript
- 개발공부
- HTTP
- scope
- 회고
- React
- Machine Learning
- Til
- Sequence
- CSS
- docker
- nodejs
- 1일1문장
- 데이터전송
- coursera
- 객체
- Linux
- Andrew Ng
- 자료구조
- 자바스크립트
- reactnative
- ES6
- 우선순위
- multer
- 스파르타코딩클럽
- 클로저
- NextJS
- 리눅스
- 끈기
- 러닝자바스크립트
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