FIX: An equal sign in an operator is missing from a parsed SQL statement in Visual Studio 2008

Article ID: 2680562 - View products that this article applies to.
Expand all | Collapse all

On This Page

Symptoms

Consider the following scenario:
  • You create a database project by using Microsoft Visual Studio 2008.
  • You connect to a database and then add a new query.
  • You type an SQL statement that resembles the following in the SQL pane:

    SELECT ‘<column 1>’ FROM ‘<table>’ WHERE @parameter <= ‘<column 2>’

  • You move the cursor out of the SQL pane to parse the statement.

In this scenario, the SQL statement is parsed as follows:

SELECT ‘<column 1>’ FROM ‘<table>’ WHERE (‘<column 2>’ > @parameter)

Notice that the equal sign (=) in the Less Than or Equal To operator (<=) is missing from the SQL statement. This problem also occurs when the operator is Greater Than or Equal To (>=).

Note This same problem occurs in Microsoft SQL Server Management Studio 2008 and Microsoft SQL Server Management Studio 2008 R2.

Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, go to the following Microsoft website:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must have Service Pack 1 for Microsoft Visual Studio 2008 installed.

Restart information

You do not have to restart the computer after you apply this hotfix. We recommend that you exit any instances of Visual Studio before you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

Collapse this imageExpand this image
assets folding start collapsed
This hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Vdt80.dll9.0.30729.58144,191,80818-Apr-201202:54x86
Collapse this imageExpand this image
assets folding end collapsed

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

Properties

Article ID: 2680562 - Last Review: August 1, 2013 - Revision: 1.0
Applies to
  • Microsoft Visual Studio 2008 Professional Edition
Keywords: 
kbautohotfix kbqfe kbhotfixserver kbfix kbbug kbexpertiseinter kbsurveynew KB2680562

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com