Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL Dialect: Ability to opt-out of padding logic #1490

Open
ramonsmits opened this issue Jun 2, 2024 · 0 comments
Open

SQL Dialect: Ability to opt-out of padding logic #1490

ramonsmits opened this issue Jun 2, 2024 · 0 comments
Labels

Comments

@ramonsmits
Copy link
Member

Describe the feature.

Currently the SQL dialect will always apply padding logic in all SQL environments

Some users want to opt-out of this behavior and prefer the "varchar values out of the row" table option.

exec sp_tableoption N'MyTable', 'large value types out of row', <'ON' or 'OFF'>

For example via a dialect configuration option:

var persistence = endpointConfiguration.UsePersistence<SqlPersistence>();
var dialect = persistence.SqlDialect<SqlDialect.MsSqlServer>();
dialect.DisablePaddingOnOutbox();

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant