Hello, I am using Sequel 5.41.0 to connect to a SQL Server database using the tiny_tds gem and the tinytds adapter.
I just noticed that when retrieving certain large columns the returned value is getting truncated to 2,048 characters. In SQL Server, the columns are defined as nvarchar(max), which could hold over 2 billion characters, but in my case I have values ranging from several thousand to almost 4 million characters. When I execute DB.schema(:mytable), I see a property "max_chars" for the nvarchar(max) column that has the value -1. Other columns defined as nvarchar(4000), for example, show max_chars = 4000, and the returned value can be as large as 4000 characters. Can you tell me how to handle the nvarchar(max) columns? Thanks -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/1f9cd09e-eed6-42ac-a6ae-6e63815c7b37n%40googlegroups.com.
