Is using UPDATE...SET statements on SQL queries advisable?

Is using UPDATE...SET statements on SQL queries advisable?

manu_n
Not applicable
7 Views
2 Replies
Message 1 of 3

Is using UPDATE...SET statements on SQL queries advisable?

manu_n
Not applicable

[ FlexSim 19.1.2 ]

I recently found out from a colleague that query("UPDATE <Table> SET <column(s)> = <value(s)> WHERE <condition(s)>") statements work very well in FlexSim. However, since this query syntax is old and this functionality is not mentioned anywhere in the user manual, is it advisable to use it in models intended for long term use at the user end? Is there clarity on whether these commands will work in future versions as well?

Accepted solutions (1)
8 Views
2 Replies
Replies (2)
Message 2 of 3

braydn_t
Not applicable

As far as I know SQL isn't going anywhere.

0 Likes
Message 3 of 3

anthony_johnsonT83CM
Autodesk
Autodesk
Accepted solution

The UPDATE clause is, and will continue to be, fully supported in FlexSim. You should feel fine using this clause and should not worry about losing support for it in future versions of FlexSim. Its exclusion from the manual is an oversight. We'll get it into the manual.