HyriseSQLParser/test/queries/queries-bad.sql

13 lines
468 B
MySQL
Raw Normal View History

# This file contains a list of strings that are NOT valid SQL queries.
# Each line contains a single SQL query.
# Each line starts with a '!' char to indicate that parsing should fail.
!
!1
!gibberish;
2018-05-22 15:35:39 +02:00
!CREATE TABLE "table" FROM TBL FILE 'students.tbl';gibberish
!CREATE TABLE "table" FROM TBL FILE 'students.tbl';1
!INSERT INTO test_table VALUESd (1, 2, 'test');
2018-05-22 15:35:39 +02:00
!SELECT * FROM t WHERE a = ? AND b = ?;gibberish;
2017-08-23 23:09:02 +02:00
!SHOW COLUMNS;
2018-02-12 11:36:47 +01:00
!select a + 2 as b(spam, eggs) from B;