Re: Select instruction not returning entire column (explicit truncate ???)

From: Steve Kass (skass_at_drew.edu)
Date: 03/22/04


Date: Mon, 22 Mar 2004 10:53:23 -0500

Yanick,

  What tool are you using? Perhaps you are using Query Analyzer with
grid output, and the strings contain non-printing characters like
char(0) or others below char(32)? See if you see everything after
converting the strings to varbinary(2000), and try text output after
setting Tools|Options|Results|Maximum Characters Per Column to a large
value. If there are non-printing characters in the strings, there is no
guarantee with any tool that you will see the contents correctly.

Steve Kass
Drew University

Yanick Charland wrote:

>Good day,
>
>[SQL Server 7.0, SP4]
>
>I have a table wich contains only one column [varchar
>(1500)] filled with some texts (different length, ranging
>from 150 chars up to 1200s). When I execute "Select * from
>Table1", I only get parts of my texts; the returned
>strings are truncated, but not all at the same size...
>
>What am I missing here ? When I open my table in
>Entreprise manager, I see my texts the way they should
>be... complete !
>
>Thanks for your help... I badly need it !
>
>Yanick Charland
>
>



Relevant Pages

  • Re: How to efficiently determine if a string contains any one of many strings
    ... I am interested in machine classification of unknown texts. ... To me it seems like a good opportunity to use a state diagram sort of ... send you to the next state that is shared by the possible input strings ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: why use log in statistics?
    ... If frequencies of words in texts are evaluated, ... are modeled by the lognormal distribution (except that there are more ... strings of sufficient length will be also the string "all generated ...
    (sci.math)
  • Re: Cantors diagonal proof wrong?
    ... You can't observe it. ... how many strings of a give length are texts; ... you could also claim that texts don't exist. ... Unsolicited bulk E-mail subject to legal action. ...
    (sci.math)
  • Re: Encoding/characterset/font family confusion
    ... I completely disagree. ... between strings and texts is one that I have never encountered on the ... programs do translate encodings, and which don't. ...
    (comp.lang.php)