Simple question, bit of a two-parter maybe. I have a transaction group, DB to OPC that selects from a table with a WHERE x=tag or y=tag clause. 99% of the time this will only return 1 row, but sometimes there may be 2 rows, how does this work when writing to the tags? Each selected row is written, last write wins? First row only? I could set my table name to a view and enforce a desired order there if need be to ensure the correct row is applied.
Second part, I also have this alternatively written as a gateway event script where I can deal with 0, 1, or 2 results, but coworkers looking at this after me are more familiar with transaction groups. Is it even worth trying to do this with a transaction group or just stick with the script?
Thank you