I tried to insert a sql query using esql code:
INSERT INTO Database.dbo.CUSTOMERS Values (9330,'Sai',7);
It is working fine but it was show error when it tried to insert code using xml format like:
INSERT INTO Database.dbo.CUSTOMERS(ID,NAME,AGE) Values (InputRoot.XMLNSC.emps.emp.id,InputRoot.XMLNSC.emps.emp.name,InputRoot.XMLNSC.emps.emp.age);
Then it was showing errors like BIP2230E
, BIP2488E
, BIP2321E
.
If there is any connectivity problem means first insert command also should not work. Select also working fine.
Any suggestions to resolve problem?
question from:https://stackoverflow.com/questions/65847646/esql-command-to-insert-query-into-data-base-using-xml-format