Skip to main content
1-Visitor
March 16, 2016
Solved

Output type for SQL Insert

  • March 16, 2016
  • 1 reply
  • 1789 views

Hi,

I've created an SQL query service and added insert statement.

Though the insert statement successfully runs, I get "Unable to Invoke Service TestSQLInsert on MyDBThing : null".

The default Output type is INFOTABLE. Even after changing this output type to Long or anything, I get the same error.

What is the correct output type I should use? Is it right to have INSERT/UPDATE statements in SQL Query service? If not what is the approach I should use for writing INSERT/UPDATE statements.

Regards

Arunkumar D

Best answer by qngo

Hi,

I think it's a SQL Command rather than a SQL Query. Then the Output type could be a number.

Regards,

Quang-Dung

1 reply

qngo1-VisitorAnswer
1-Visitor
March 16, 2016

Hi,

I think it's a SQL Command rather than a SQL Query. Then the Output type could be a number.

Regards,

Quang-Dung