We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76ed995 commit 7205906Copy full SHA for 7205906
src/test/java/net/sf/jsqlparser/test/select/SelectTest.java
@@ -2754,4 +2754,9 @@ public void testIssue582NumericConstants() throws JSQLParserException {
2754
public void testIssue583CharacterLiteralAsAlias() throws JSQLParserException {
2755
assertSqlCanBeParsedAndDeparsed("SELECT CASE WHEN T.ISC = 1 THEN T.EXTDESC WHEN T.b = 2 THEN '2' ELSE T.C END AS 'Test' FROM T");
2756
}
2757
+
2758
+ public void testIssue266KeywordTop() throws JSQLParserException {
2759
+ assertSqlCanBeParsedAndDeparsed("SELECT @top");
2760
+ assertSqlCanBeParsedAndDeparsed("SELECT @TOP");
2761
+ }
2762
0 commit comments