Created
March 28, 2016 16:46
-
-
Save fschmied/d3bf0b846000347ce136 to your computer and use it in GitHub Desktop.
NEventStore's MsSql PersistCommit query
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT | |
INTO Commits | |
( BucketId, StreamId, StreamIdOriginal, CommitId, CommitSequence, StreamRevision, Items, CommitStamp, Headers, Payload ) | |
OUTPUT INSERTED.CheckpointNumber | |
VALUES (@BucketId, @StreamId, @StreamIdOriginal, @CommitId, @CommitSequence, @StreamRevision, @Items, @CommitStamp, @Headers, @Payload); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment