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
I'm using SQL Server 2016 Express, set to SQL_Latin1_General_CP1_CI_AS collation. When I save data on columns set to nvarchar(max) on SQL Server's side, they're properly saved, but when I read them back, I get this:
Columns in question here are Analysis and Contents - they should contain "analysis" and "content" respectively.
Current Behavior
Using the scaffolding default views, I managed to save the data (and confirm it's correct in SQL Server Management Studio). Schema definition:
Yeah a bug in the Erlang ODBC driver mangles variable length column output, see #2
Keeping this open since it describes a different and perhpas more common way to encounter this bug but please discuss in the other issue. Basically until someone patches OTP you need to cast the column as nvarchar(4000) on SELECT and are limited to 4000 bytes.
Expected Behavior
I'm using SQL Server 2016 Express, set to
SQL_Latin1_General_CP1_CI_AS
collation. When I save data on columns set tonvarchar(max)
on SQL Server's side, they're properly saved, but when I read them back, I get this:Columns in question here are
Analysis
andContents
- they should contain "analysis" and "content" respectively.Current Behavior
Using the scaffolding default views, I managed to save the data (and confirm it's correct in SQL Server Management Studio). Schema definition:
The form to save the data uses
textarea
as the HTML control.Possible Solution
Is there a way to set the collation on the Repo settings?
Steps to Reproduce (for bugs)
nvarchar(max)
columns on the database are not set properly.Context
Trying to get out of the database what I put in 😄
Your Environment
The text was updated successfully, but these errors were encountered: