Which data type doesn't allow null data type?
Answers were Sorted based on User's Feedback
Answer / shailesh
First of all the way this question is asked is totally wrong. The learner may have to ask which data type does not allow null values.
All data types will allow to insert null values unless the Primary Key or Not Null constraint is defined on a column.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / rajesh
The first answer is wrong, because 'NULL' is string its not null.
If u give null in insert query as second parameter the row will be inserted.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / 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 |
what are the differences between get and post methods in form submitting. Give the case where we can use get and we can use post methods? : Sql dba
How will you a activate/deactivate integrity constraints?
What are instead of triggers?
what are date and time functions in mysql? : Sql dba
What is tuple in sql?
how to insert values like 10:10:00,30:25:00 etc.into table after insert how can i sum the above insert values to get the result as 40:35:00
does sql support programming? : Sql dba
What is scope of pl sql developer in future?
can sql servers linked to other servers like oracle? : Sql dba
What is native sql query?
what is global variable in package
What is auto increment feature in sql?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)