Skip to content

Multiple statements separeted with semicolon #2

Closed

Description

@agershun

Something wrong in parser:

alasql.exec('SELECT * FROM one; SELECT * FROM two');

gives an error,

Activity

  1. added this to the milestone on Nov 10, 2014
  2. self-assigned this
    on Nov 10, 2014
  3. agershun commented on Nov 22, 2014

    @agershun
    MemberAuthor

    Fixed. Now you can use as many statement as you want.

    The only one important thing: multistatement operators are not cached.

    [See example in Alasql console](http://alasql.org/console/alaconsole.html?create table one%28a int%29;insert into one values %2810%29,%2820%29;create table two%28b int%29;insert into two values %28100%29,%28300%29;SELECT * FROM one; SELECT * FROM two)

  4. added a commit that references this issue on Jan 25, 2016
  5. added 2 commits that reference this issue on Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions