Skip to content

Additional Column - Static Value #575

Answered by ckadluba
Foxtrek64 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Foxtrek64!

The MSSQL sink currently does not support default values for columns if a corresponding property was not provided. You can take a look at the following possible solutions.

  • Write a Serilog enricher to set your custom properties to default values
  • Use SQL server to fill in default values (by schema definition, insert trigger, etc.)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Foxtrek64
Comment options

Answer selected by Foxtrek64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants