writing update query through servoy code.

Hi All,

Can we write update sql query through the servoy code ?. getDataSetBYQuery is only used for select statements.

Hi,

You can use the rawSQL plugin for this.

Hi Roberts,

Thanks for your help.

Hello,

You can also you the . getDataSetBYQuery to update the database, if you call a procedure on the backend database.

sample sql:

select * from (call AR_UPDATECUSTOMERBALANCE(‘ABC001’,‘100.00’))

Lach

You may also have a look at the foundsetupdater.

databaseManager.getFoundSetUpdater(foundset)

Rob