Displaying varchars in Query Analyzer?

  • I have a table with a varchar(1024) field. When I view a record that I know has 619 characters in this field - (the len function also cofirms this) query analyzer only displays 256.

    If I look at this record in enterprise manager I can view the full text.

    Why is this and what are the limitations when using query analyzer?

  • Go to Tools->Options->Results->Maximum Characters per column, and set it to a higher number.

    Regards,

    Andras


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • Because you rarely need to view such long strings whole, the default setting of QA is to display 256 characters.

    You can change this in Tools>Options>Results>Maximum characters per column.

  • Great - thanks both I have never came across that option before.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply