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
  • Thanks for your quick respone.
    I've tried this node, .
    My idea is :
    1. Create a UI to allow user key in the script => and save this script into pv!a.
    2. In smart node - Query database, use ac!a (value = pv!a) as sql statement.

    But failed.
    Besides, number of update statement is not fixed, using Query database smartservice node seems not flexible.

    Thank
Reply
  • Thanks for your quick respone.
    I've tried this node, .
    My idea is :
    1. Create a UI to allow user key in the script => and save this script into pv!a.
    2. In smart node - Query database, use ac!a (value = pv!a) as sql statement.

    But failed.
    Besides, number of update statement is not fixed, using Query database smartservice node seems not flexible.

    Thank
Children
No Data