<div dir="ltr"><div>When using livesync for scriptedsql conntector and database is ms sql server how should the modified column be formatted.</div><div><br></div><div>Right now I setup the 'modified' column with a trigger on insert/update to populate using GETDATE() which populates like 2017-01-25 10:32:02.107</div><div><br></div><div>Within the livesync task it seems to be updating rows with every sync task and I am assuming it is because of the date/time format.</div><div><br></div><div>My script looks like this basically, except mine has the right column names of course for the query</div><div><br></div><div><a href="https://github.com/Evolveum/midpoint/blob/d8aec0b6ae5c03009a2a703533f1637852a3b8ad/samples/resources/scriptedsql/SyncScript.groovy">https://github.com/Evolveum/midpoint/blob/d8aec0b6ae5c03009a2a703533f1637852a3b8ad/samples/resources/scriptedsql/SyncScript.groovy</a><br></div><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Any insights would be appreciated!</div><div dir="ltr"><br></div><div>Thanks!</div></div></div>
</div>