Add support for MSSQL's SELECT TOP N syntax (#150)

Add support for MSSQL SELECT TOP (N) [PERCENT] [WITH TIES] syntax.
This commit is contained in:
Alex Kyllo 2020-01-12 20:20:48 -08:00 committed by Nikhil Benesch
parent 4cdd6e2f84
commit 172ba42001
7 changed files with 126 additions and 10 deletions

View file

@ -77,7 +77,7 @@ fn parse_show_columns() {
Statement::ShowColumns {
extended: false,
full: false,
table_name: table_name.clone(),
table_name: table_name,
filter: Some(ShowStatementFilter::Where(
mysql_and_generic().verified_expr("1 = 2")
)),