i'm creating the table with following query
CREATE TABLE LSP_Schedule(
lab_Id VARCHAR2(20) NOT NULL,
test_code VARCHAR2(10) NOT NULL,
test_date DATE NOT NULL,
slot_time VARCHAR2(20) NOT NULL,
duration NUMBER(3) NOT NULL CHECK (duration IN (30,60,90,120)),
status VARCHAR2(20) CHECK (status IN ('booked','Free')),
PRIMARY KEY (lab_Id,test_code)
)
and to insert the date into this table is write the query as follows
INSERT INTO LSP_SCHEDULE VALUES('1000','1001','2010-07-12','10:00AM-10:30AM',30,'booked')
but it shows the error as
ORA-01861:literal does not match format string
can you give the correction for the above query to insert the data successfully.
i'm using SqlDbx version 3.51.1