Can anyone help me to auto-generate the empID field, so that we don't enter the value through the insert statement. create table employee( empID int,designation varchar(10));
What shall be the code so that I enter only designation and ename but not empID (which should be automatically generated)?
Asked
Active
Viewed 320 times
-1
-
This question seems to have been answered several times. Try this one: http://stackoverflow.com/questions/11296361/how-to-create-id-with-auto-increment-on-oracle – gkalpak Jun 10 '13 at 04:35