An SQL Server Query analyzer option...

Source: Internet
Author: User
Tags sql server query

Occasionally, a strange problem is that during data insertion, the data cannot be completely inserted into the data table and is always truncated ". The executed SQL statement is as follows:

Insert Test (recv_data) Values ( ' Bytes ' )

The data type of the recv_data field is set to varchar (2048), but the inserted data is less than 300 characters. After each insert into operation, the data obtained by the query analyzer is always incomplete. After a long time, I found out that xuanjicang was not "truncated" during data insertion, but intercepted during query display. After reading the following picture, I may understand it.

Haha ~~~ This is what is displayed on the options result page of the query analyzer menu: tool -->, this is because the query analyzer imposes a limit on the maximum number of characters in no columns when outputting the query and analysis results, which leads to the so-called data truncation.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.