Hi all, Is there any smart service / functions we could use to execut

Hi all,

Is there any smart service / functions we could use to execute SQL ?
Not just 'SELECT' but also 'INSERT' / 'UPDATE' ?

One of the solution might be: Create a store procedure which is "execute <Input parameter>" , <input parameter> is input of the store procedure. Use smart service 'Execute Store Procedure' to call such store procedure.

Is there any clever way to do so?
Thanks in advance,

OriginalPostID-164301

OriginalPostID-164301

  Discussion posts and replies are publicly visible

Parents Reply
  • Hi Vinay,

    Thanks for your response. 

    My requirement is different. I have list of UPDATE statements in PV and the number of statements is not defined.

    For example: 

    UPDATE TableName SET columnName = 'value2' WHERE columnNAme = 'value1'

    UPDATE TableName SET columnName = 'value4' WHERE columnNAme = 'value3'

    UPDATE TableName2 SET columnName = 'value4' WHERE columnNAme = 'value3'

    I have created a AC in setup tab of Query Database and configure it with the PV, but it is not working.

Children
No Data