Hi,
I am trying to run multiple queries in one go like following:
“ALTER TABLE table1 ADD column column1 LONGTEXT;ALTER TABLE table1 ADD column column2 DATETIME;ALTER TABLE table1 ADD column column3 DATE;ALTER TABLE table1 ADD column column4 BIGINT;ALTER TABLE table1 ADD column column5 DATETIME;ALTER TABLE table1 ADD column column6 DATETIME;”
It is throwing error as following:
{
........
sqlMessage: 'Multiple statements detected in a single query. ALTER TABLE table1 ADD column column1 LONGTEXT'
}
Let me know if there is any mistake from my side or Singlestore doesn’t allow multiple queries to be executed in one go.