Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSqlParser150 fails to parse valid T-SQL #1175

Open
ostandage opened this issue Mar 16, 2021 · 0 comments
Open

TSqlParser150 fails to parse valid T-SQL #1175

ostandage opened this issue Mar 16, 2021 · 0 comments

Comments

@ostandage
Copy link

We have had a bug reported by a customer of ours that we tracked down to a bug within TSqlParser150 of Microsoft.SqlServer.TransactSql.ScriptDom.

When trying to parse the following script, it returns 'Incorrect syntax near url', despite the syntax being valid on the SQL Server documentation, and parsing in SSMS correctly.

RESTORE DATABASE Sales FROM URL = 'https://foo.com'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant