WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

SQL syntax error when using "ms" as an alias #379

@copperschnack

Description

@copperschnack

In VS Code, we get an SQL syntax error, when using "ms" as a table alias. In Studio, the highlighting is not present.

Here is an example class for this behavior:

Class tmp.SyntaxErrorSqlAliasMs Extends %RegisteredObject
{

ClassMethod Example()
{
	&sql( select ms.* from (select current_date) ms where 1 = 1 )
}

}
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions