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

Support schema qualified stored procedures for mssql #1276

Open
fdzuJ opened this issue May 17, 2024 · 0 comments
Open

Support schema qualified stored procedures for mssql #1276

fdzuJ opened this issue May 17, 2024 · 0 comments

Comments

@fdzuJ
Copy link

fdzuJ commented May 17, 2024

mssql supports execution of schema qualified stored procedures, parser panics.

use sqlparser::dialect::MsSqlDialect;
use sqlparser::parser::Parser;
 
fn main() {
    let sql = "execute some_schema.some_procedure;";
 
    let dialect = MsSqlDialect {};
 
    let ast = Parser::parse_sql(&dialect, sql).unwrap();
 
    for stmt in ast.iter() {
        println!("{}", stmt.to_string())
    }
}

ParserError("Expected end of statement, found: . at Line: 1, Column 20")

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

No branches or pull requests

1 participant