May I know what's the problem with this? I keep on getting this "SP2-0003 Ill formed" on the timestamp. How can I solve this?
ACCEPT v_cheindatetime timestamp FORMAT 'DD-MON-YY HH:MI:SS'
PROMPT 'Enter Checkin Date & Time : '
ACCEPT v_cheoutdatetime timestamp FORMAT 'DD-MON-YY HH:MI:SS'
PROMPT 'Enter Checkout Date & Time : '
--execute the INSERT statement
INSERT INTO booking VALUES
('&v_cheindatetime','&v_cheoutdatetime');