Connect oracle from nodejs

后端 未结 4 1828
既然无缘
既然无缘 2021-01-14 00:11

Last few weeks I had been trying to connect oracle db from my nodejs code. What I found so far are 2 main libraries such as https://github.com/mariano/node-db-oracle which i

4条回答
  •  灰色年华
    2021-01-14 00:47

    Set the oracle client path in the command prompt like below before starting the Node application

    Set PATH=C:\oraclexe\app\oracle\instantclient_12_1;%PATH%

    I had the above problem , this resolved mine and I am now able to connect to oracle .

    But the one problem I am still facing is executing the select statement .It always returns error. I am able to execute SP, create statements and everything else without error . I am stuck here and sort of disappointed .

提交回复
热议问题