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
how would you get the current date in mysql? : Sql dba
what are the 'mysql' command line options? : Sql dba
what are the different type of sql's statements ? : Sql dba
Is it possible to include an insert statement on the same table to which the trigger is assigned?
Why do we need cursors in pl sql?
What are secondary keys?
What is foreign key in sql with example?
What is write ahead logging in sql server?
Should I use mbr or gpt?
Can a trigger call a stored procedure?
What does <> sql mean?
how to get help information from the server? : Sql dba
Is pl sql better than sql?
What is lexical units in pl sql?
Can we insert data into view?