Quantcast
Channel: Question and Answer » oracle
Viewing all articles
Browse latest Browse all 717

ORA-00911: invalid character error in insert statement

$
0
0

I created a table called TROUBLE in Oracle Database 10g Express Edition by this command

create table TROUBLE (
City VARCHAR2(13) NOT NULL,
SampleDate DATE NOT NULL,
Noon NUMBER(3,1),
Midnight NUMBER(3,1),
Precipitation NUMBER
);

The table got created. When I tried to insert a record, there is an error

ORA-00911: invalid character

My insert statement was

insert into TROUBLE values
 ('PUNE' , '21-MAR-15' , 39.9, -25.5, 3.6);

Viewing all articles
Browse latest Browse all 717

Trending Articles