fix virtual attributes in insert and update statements

VIRTUAL attributes were accidentally being included in INSERT and UPDATE
statements as OUTPUT variables
merge
Merge branch 'mbroadst-fix-virtual-attribute' into feature/ms-sql-server