Hello, I am trying to make use of node-red-contrib-oracledb-mod to connect to the Oracle db and access datas. I am able to connect it successfully and write select queries and getting the proper results. But, not able to write the insert queries by giving the values that I get from the payload. Please do help me out in this.
INSERT INTO Schema1.tableABC (GOOGLEPLUS, MIDDLENAME, NOTES, DEPARTMENT, BIRTHDAY, PROFILEPHOTO, LINKEDIN, MAIL_ID, SKYPEID, FACEBOOK, TWITTER, STATUS, SALUTAION, FIRSTNAME, LASTNAME, WORKPHONE, MOBILE, TITLEDESIGNATION )
VALUES( +msg.payload.ContactInformation[0].Googleplus+ , +msg.payload.ContactInformation[0].MiddleName+ , +msg.payload.ContactInformation[0].Notes+ , +msg.payload.ContactInformation[0].Department+ TO_DATE( +msg.payload.ContactInformation[0].Birthday+ ,'YYYY-MM-DD'), +msg.payload.ContactInformation[0].ProfilePhoto+ , +msg.payload.ContactInformation[0].Linkedin+ , +msg.payload.ContactInformation[0].Email+ , +msg.payload.ContactInformation[0].SKYPEID+ , +msg.payload.ContactInformation[0].Facebook+ , +msg.payload.ContactInformation[0].Twitter+ , +msg.payload.ContactInformation[0].Status+ , +msg.payload.ContactInformation[0].Salutation+ , +msg.payload.ContactInformation[0].FirstName+ , +msg.payload.ContactInformation[0].LastName+ , +msg.payload.ContactInformation[0].WorkPhone+ , +msg.payload.ContactInformation[0].Mobile+ , +msg.payload.ContactInformation[0].TitleDesignation+ );
This is how I am trying to write the query in node-red-contrib-oracledb-mod.
Using this node for the first time. If there's any material that explains in detail about this node, please share.
Thanks in Advance.