formulahendry / formulahendry/vscode-mysql

Error selecting tables with a space in the name

Open
#31 2 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
229
Forks
58
PR merge metrics
No merged PRs in 30d

Description

If you have a table like MY TABLE

selecting SELECT TOP 1000 the command is

SELECT * FROM MYDB.MY TABLE LIMIT 1000;

and gives an error (Error: ER_PARSE_ERROR: You have an error in your SQL syntax;....)

The correct command should be

SELECT * FROM \`MYDB\`.\`MY TABLE\` LIMIT 1000;

but if you write this it gives Code language not supported or defined.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.