Guest_imported
New member
- Jan 1, 1970
- 0
I create a datefield on the database which takse date and time as values, like nov/30/2001 11:45pm.
However, I now need to make that a default whereby a user does not have to manually type in the date and time.
How can I do this?
I tried datefield := to_char(sysdate, 'mon/dd/yyyy HH24:MI)
I was trying to make this change on when-create-record trigger.
I am running into error message INVALID MONTH.
Any help would be greatly appreciated
However, I now need to make that a default whereby a user does not have to manually type in the date and time.
How can I do this?
I tried datefield := to_char(sysdate, 'mon/dd/yyyy HH24:MI)
I was trying to make this change on when-create-record trigger.
I am running into error message INVALID MONTH.
Any help would be greatly appreciated