Replies: 1 comment 1 reply
-
You can use the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So I know that virtual rows suggest you use the hash syntax with
#where(...)
instead of testing for equality in the virtual row, for example:however I see that virtual rows are used to build the predicate when building up an SQL MERGE query. Since it doesn't seem possible to add equality predicates in the virtual row, how would one build a query like this?
In my use case I'm merging a list of CDC changes captured in a table that has a column that defines what kind of change occurred on a row (i.e. "insert", "update" or "delete") so depending on the logic I sometimes need to qualify rules based on this column.
Beta Was this translation helpful? Give feedback.
All reactions