Sorry, I should have been more clear. When I say assign, I mean if I am writing a select query: I could be selecting a part of the primary key (and since its a part of the PK, they will not be unique). How can I assign (generate) an auto number(in order 1,2,3,4....so on) in this scenario so the selected records can all be unique.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.