By the way, this happens on WIndows.

when I run the same script  on my dev machine (Ubuntu,  sequel (4.45.0), 
tiny_tds (1.3.0) ), I get the full content.

How should I go about investigating/fixing this on Windows?

On Friday, May 19, 2017 at 6:28:27 PM UTC-7, Andrei (L.A.) wrote:
>
> Loading the content of a text-type column loads only the first 4096 bytes. 
> Is there a way to load the full content of the column? I have verified that 
> the record contains more than 4096 bytes in this column (14324 characters).
>
> e = Email.where(id: '86...').first
> e.message_html.size => 4096
>
> sequel (4.41.0)
> tiny_tds (1.0.5-x86-mingw32)
>
> Table definition:
> CREATE TABLE [dbo].[pardot_emails](
>   [id] [int] NULL,
> ...
>   [message_html] [text] NULL,
>   [created_at] [datetime] NULL
> ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to