Answer Posted / nanne saheb c
Can't insert NULL value in DATE data type. Please find the below practical as example.
CREATE TABLE Example(
name VARCHAR(30),
regist DATE,
PRIMARY KEY(name)
);
INSERT INTO Example VALUES ('anyname','NULL');
ORA-01841: (full) year must be between -4713 and +9999, and not be 0
| Is This Answer Correct ? | 3 Yes | 10 No |
Post New Answer View All Answers
What is the difference between the conventional and direct path loads? : aql loader
Which sql statement is used to delete data from a database?
What is bind variable in pl sql?
What is the difference between join and natural join?
Is sql injection illegal?
Which is better stored procedure or query?
How can we find duplicate records in a table?
Mention what is the use of function "module procedure" in pl/sql?
What is sap sql anywhere?
The in operator may be used if you know the exact value you want to return for at least one of the columns.
What are sql data types?
Can a foreign key be a duplicate?
What are hotfixes and patches?
what is the stuff function and how does it differ from the replace function? : Sql dba
What is a primary key called that is made up of more than one field?