‎2020 Jun 10 3:34 PM
Is it possible bulk insert in hana like
INSERTINTO tbl_name (a,b,c)VALUES(1,2,3),(4,5,6),(7,8,9);
‎2020 Jun 10 11:02 PM
It is not in HANA's SQL syntax afaik.
But if you do it from Python, then you can do `executemany` (https://help.sap.com/viewer/0eec0d68141541d1b07893a39944924e/2.0.04/en-US/d0c010fa5c4e4e4cba7b791cd1...)
Something like [there might be some syntax mistake in below snippet, but should give the idea]
rows = ((1,2,3),(4,5,6),(7,8,9))
parms = '?,?,?'
sql = 'INSERT INTO "tbl_name" VALUES ({})'.format(parms)
cursor.executemany(sql, rows)Regards.
‎2020 Jun 11 7:23 AM
witalij I am using java / spring boot. One by one query is executing even I run batch statement.