You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the MS SQL Client for CREATE TABLE statements, the resulting columns are non-nullable even when NOT NULL is not specified on the column definition.
This does not happen when using the JDBC client on the same database.
io.vertx.mssqlclient.MSSQLException: {number=515, state=2, severity=16, message='Cannot insert the value NULL into column 'dessimal', table 'master.dbo.Basic2'; column does not allow nulls. INSERT fails.', serverName='0ac9600ef0bb', lineNumber=1}
As a workaround, the column definition must explicitly allow NULL values:
createtableBasic2 (id int, dessimal numeric(19,2) null, primary key (id))
The text was updated successfully, but these errors were encountered:
When using the MS SQL Client for
CREATE TABLE
statements, the resulting columns are non-nullable
even whenNOT NULL
is not specified on the column definition.This does not happen when using the JDBC client on the same database.
The snippet above works fine but this one fails:
The error message is:
As a workaround, the column definition must explicitly allow
NULL
values:The text was updated successfully, but these errors were encountered: