cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Output type for SQL Insert

arunkumar1
1-Newbie

Output type for SQL Insert

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

1 ACCEPTED SOLUTION

Accepted Solutions
qngo
5-Regular Member
(To:arunkumar1)

Hi,

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

Regards,

Quang-Dung

View solution in original post

1 REPLY 1
qngo
5-Regular Member
(To:arunkumar1)

Hi,

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

Regards,

Quang-Dung

Top Tags