POST - Create new record in a table having IDENTITY primary key column #2097
Answered
by
yorek
TheGongoDev82
asked this question in
Q&A
-
Hello! I just started few days ago using DAB. I tried to insert a new record in a table having IDENTITY primary key column. Is there a method to enable IDENTITY INSERT by using REST POST method? |
Beta Was this translation helpful? Give feedback.
Answered by
yorek
Mar 22, 2024
Replies: 1 comment 4 replies
-
You can not at the moment. The options you have to make it work are 2:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to use a SEQUENCE instead of an IDENTITY (which is a good practice independently from DAB usage)