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
Can we write ddl statements in functions?
Which sorts rows in sql?
Does sap use sql?
What does pl sql stand for?
Can a select statement fire a trigger?
Why truncate is faster than delete?
What are the usages of sql?
How do I view tables in sql developer?
table structure: ---------------- col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10 01-mar-2012 11:12:46 01-mar-2012 11:11:23 Write a query to display the result as shown below: col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10
Is primary key an index?
what is the stuff function and how does it differ from the replace function? : Sql dba
What is view? Can we update view
What is string data type in sql?
What is a Mapplet?
what is sql profiler? : Sql dba