[SQL] ah?! bug?! of Query Analyzer

Source: Internet
Author: User
Tags query
Query analysis
When we look at a table using SQL Server's Query Analyzer, we see a record like this:

The strange thing is that the "receivetime" field is clearly a datetime type, how can it be "62016004" this number?

How does SQL Server allow this number to be inserted? Even if our program is written incorrectly and wants to insert it into the record, will it get an exception?

Or do the data Warehouse has experience, said may be Query Analyzer bugs.

Use VBScript to write a query example, the record of each field report out, sure enough!


It is true that Microsoft's Query Analyzer was wrong, in fact, the database is stored in the correct, but only when the Query Analyzer display error, may content field garbled to Query Analyzer "according to the table display results" have effect, if it is "according to the text display results" There is no problem,-_-'.

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: info-contact@alibabacloud.com 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.