Which data type doesn't allow null data type?

Answers were Sorted based on User's Feedback



Which data type doesn't allow null data type?..

Answer / krishna kant kumar

SIMPLE_INTEGER

Is This Answer Correct ?    3 Yes 0 No

Which data type doesn't allow null data type?..

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

Which data type doesn't allow null data type?..

Answer / anil

not null,Primary key

Is This Answer Correct ?    3 Yes 3 No

Which data type doesn't allow null data type?..

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

Which data type doesn't allow null data type?..

Answer / mathivanan

NATURALN,POSITIVEN,SIMPLE_INTEGER

Is This Answer Correct ?    0 Yes 0 No

Which data type doesn't allow null data type?..

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

Post New Answer

More SQL PLSQL Interview Questions

Why cross join is used?

0 Answers  


What is the need of merge statement?

0 Answers  


describe transaction-safe table types in mysql : sql dba

0 Answers  


Mention what pl/sql package consists of?

0 Answers  


how to write date and time literals? : Sql dba

0 Answers  






Write a sql select query that only returns each name only once from a table?

0 Answers  


Difference between a query and strored procedure?

4 Answers   Microsoft,


what is rollback? : Sql dba

0 Answers  


How can we connect an Android App to an Oracle database and use the PL/SQL procedural code?

0 Answers  


How do I partition in sql?

0 Answers  


Does pdo prevent sql injection?

0 Answers  


List the different type of joins?

0 Answers  


Categories