Oracle Sequence No , Date format
Hi Thearon,
Reference to the time sheet application chapter 12 page 374(ORACLE) I want to cahnge in procedure to accept sequence.nextval instead of
(inTimeSheetID) which is your primary key.
Please advise on how to change the procedure.
I have a trigger to insert the next id(like auto number in access or as identity in SQL).
Second question about ORACLE date:
I have a date field when I enter date as
to_char(1/1/20004,'mm/dd/yyyy') I got error message:
ORA-01843: not a valid month
So I have to write the date as (01-jan-04).
Please advice,
Thanks
Sam
|