sqlparser-rs icon indicating copy to clipboard operation
sqlparser-rs copied to clipboard

MS SQL create table parse error

Open TylerBrinks opened this issue 1 year ago • 1 comments

This is a mirror of the C# issue found here

MS SQL parsing expects a comma after primary key and does not accept the identity keyword

#[test]
fn parse_ms_sql_create_column_with_identity(){
    let sql = "create table T_Users(id bigint primary key identity, username varchar(255) not null);";
     ms().verified_only_select(sql);
}

TylerBrinks avatar May 07 '24 13:05 TylerBrinks

Any update here?

shilohooo avatar May 15 '24 08:05 shilohooo