New Recrod entry error with table that has non-numeric key i.e varchar(16) or char(2) #5492
hafizTahir
started this conversation in
General
Replies: 1 comment 5 replies
-
https://serenity.is/demo/BasicSamples/ViewWithoutID Also you can add an autoincrement id field to your table. It's will help you to handle it easy way if you have not strict reason. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have table :
CREATE TABLE [dbo].[faCategory](
[Code] char NOT NULL,
[Name] char NOT NULL
CONSTRAINT [PK_faCategory] PRIMARY KEY CLUSTERED
(
[Code] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
The Code field is primary key i am generating it 01,02,03....99 in other software without serenity
but in serenity its giving me error.
How can i generate custom value for primary key in serenity
Please help
Beta Was this translation helpful? Give feedback.
All reactions