• This is what I use, except it's for text data types. I thought that varchar (if that's what your field is set as) is a max lenght of 4000. Anyway, here's my script to output text that is more than 4000 characters.

    Declare @ptr varbinary(16),

    @length int,

    @Search varchar(200)

    Set@Search = 'Title: 29aa58348'

    --Set@Search = 'Title: 29aa58348'

    Select @length = DataLength(FODocument)

    From Admin..PrintJob

    Where DocumentName = @Search

    Select @ptr = TextPtr(FODocument)

    From Admin..PrintJob

    Where DocumentName = @Search

    --Select @Search As [SearchParameter], @length As [LengthOfField], @ptr As [PointLocation]

    If @ptr IS NOT NULL

    ReadText PrintJob.FODocument @ptr 0 @length