I am new to SQL and I am making an asp.net page in which is a small airline service for a project for scool. For one of my tables I have:
AccountID, CustomerName, FrequentFlierMi les, FrequentFliernu m for my column names. The acount AccountID column can not have duplicated values and FrequentFliernu m can not have duplicated values and the only thing I could think from stopping that is through identity specification, the problem is you can only set one of the columns to have identity specification.
The AccountID and FrequentFliernu m I would like to automatically increment by 1.
Anyhelp is appreciated. If this does not make sense I will try re-writing it.
AccountID, CustomerName, FrequentFlierMi les, FrequentFliernu m for my column names. The acount AccountID column can not have duplicated values and FrequentFliernu m can not have duplicated values and the only thing I could think from stopping that is through identity specification, the problem is you can only set one of the columns to have identity specification.
The AccountID and FrequentFliernu m I would like to automatically increment by 1.
Anyhelp is appreciated. If this does not make sense I will try re-writing it.
Comment