Skip to content

Run Current Doesn't Work When a Hashtag Appears in the SQL #798

Description

@rwhirn

Build: 368 (26.6.0)
Microsoft SQL Server 2014

A query like the following, hitting Ctrl-Enter or selecting "Run Current" on the DROP TABLE line does not work, it still does a "Run All"

DROP TABLE #tempcombined;
SELECT *
INTO #tempcombined
FROM orders;

If you take out the "#" from the DROP TABLE it works fine.

NOTE: Highlighting the statement DOES work. Just having the cursor on the line you want to execute does not.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions