You are currently offline, waiting for your internet to reconnect

Your browser is out-of-date

You need to update your browser to use the site.

Update to the latest version of Internet Explorer

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

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: 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

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.
File nameFile versionFile sizeDateTimePlatform
Vdt80.dll9.0.30729.58144,191,80818-Apr-201202:54x86
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Properties

Article ID: 2680562 - Last Review: 08/01/2013 19:42:00 - Revision: 1.0

  • Microsoft Visual Studio 2008 Professional Edition
  • kbautohotfix kbqfe kbhotfixserver kbfix kbbug kbexpertiseinter kbsurveynew KB2680562
Feedback