simple-ddl-parser icon indicating copy to clipboard operation
simple-ddl-parser copied to clipboard

MsSQL - IDENTITY(1,1) when placed after KEY

Open hubg398 opened this issue 1 year ago • 2 comments

Parser fails when IDENTITY(1,1) comes after KEYs in column def.

This fails:

create table Customer (
   Id int PRIMARY KEY IDENTITY(1,1),
)

This works

create table Customer (
   Id int IDENTITY(1,1) PRIMARY KEY,
)

hubg398 avatar May 27 '24 14:05 hubg398

@hubg398 thanks for opening new issues, I don’t have much time on this week, maybe I will have some hours on weekends

xnuinside avatar May 27 '24 21:05 xnuinside

Hey @xnuinside for sure, was more logging them here to track them bugs, not expecting any urgency in fixing :)

Thanks again

hubg398 avatar May 27 '24 23:05 hubg398