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

SQL syntax error #14

Open
johnnylu305 opened this issue Jun 9, 2017 · 5 comments
Open

SQL syntax error #14

johnnylu305 opened this issue Jun 9, 2017 · 5 comments
Assignees
Labels

Comments

@johnnylu305
Copy link
Contributor

sql
create table tableA(id int)11111
select id from tableA 11111
Neither of them should be accepted.

@SLMT SLMT self-assigned this Jun 10, 2017
@SLMT SLMT added the bug label Jun 10, 2017
@kyechou
Copy link
Contributor

kyechou commented Jun 12, 2017

I wonder whether these queries should be accepted:

  • select id from tableA;
  • select id from tableA; select id from tableB;

I mean should it be one query per line, or should semicolons be used to denote the end of a query?

@johnnylu305
Copy link
Contributor Author

I think vanillaDB not support multiple query in one line with semicolons now.

@kyechou
Copy link
Contributor

kyechou commented Jun 12, 2017

That's right, but I mean should it support?

@johnnylu305
Copy link
Contributor Author

I am not sure. Try to contact [email protected]. Thx.

@SLMT
Copy link
Member

SLMT commented Jun 12, 2017

@kyechou
Good question !

In our current design, we do not support multiple queries in a line.
Since we focus on making code easy to read, we only implement the functions that are really necessary for the system.

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

No branches or pull requests

3 participants