Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Autonumber
>When I try and enter data into the Testdata field using ODBC via MS access
>linked tables, I get an error message that says that testID cannot be null.
>
>Why doesn't oracle create a unique number here?
>
>
Oracle does not automaticall generate unique numbers!
You need to write a trigger to this using Oracle sequences
some thing like
select <your_sequence>.nextval into :new.testID from dual; Sree Received on Sat Apr 11 1998 - 18:41:31 CDT
![]() |
![]() |