Create the table as follows

Here while inserting there is no need to pass values of Sno, Student_Id column.

Then insert the fields like as shown below.

Now displaying the inserted records

you can see the inserted records below

identity-on-varchar-column

Leave a Reply

Your email address will not be published. Required fields are marked *