Showing results for 
Search instead for 
Did you mean: 

Multiple insert query in xsjs

0 Kudos

How can I execute a multiple table insert query in xsjs service any idea?

Accepted Solutions (0)

Answers (2)

Answers (2)

Hi Avinash,

I suggest that you can check the democontent epm example to see examples related with xsjs applications. There are lots of usage about xsjs service or db creations. In SAP HANA Web-based Development Workbench click editor tile after open the package sap as sap->hana->democontent->epm->service->soCreateMultiple.xsjs file. This file has some insert queries, they might be useful for you. Also the service package has another useful examples.

Best regards.


Active Contributor

In the documentation of $.hdb.Connection you can see that a batch insert is possible. Check the example listed for method executeUpdate.