Can we use more than one null value for unique key?

Answer Posted / slimtech

The answer to this question depends on the database that we
are using
1. In SQL Server and DB2, we can insert only one null value
in the Unique Key column.
2. In Oracle, we can insert multiple null values

Is This Answer Correct ?    31 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of queries in sql?

524


What is a join query?

553


what is the difference between truncate and drop statements? : Sql dba

554


C. Normalize the following data up to the 3rd Normal form. Create the tables and insert the data given. Emp_ID Name Dept_Name Salary Course_Title Date_Completed 100 Adam Marketing 48,000 SPSS 6/19/2008 Surveys 10/7/2008 140 Bob Accounting 52,000 Tax Acc 12/8/2008 110 Cathy IT SQL Server 1/12/2008 C# 4/22/2008 190 Dan Finance 150 Emily Marketing 55,000 SPSS 6/16/2008 42,000 Analysis 8/12/2008 Queries 1. Find all Names who have completed the SPSS Course. 2. Find employee with max salary. 3. Find employee with 2nd max salary. 4. Find all employees in Dept “Marketing”. 5. Find all the employees who have taken more than 2 courses. 6. Find all the employees who have completed the courses before month of September.

2173


What is an ndf file?

534






Is stored procedure faster than query?

565


Why do we use sql constraints? Which constraints we can use while creating database in sql?

549


how to drop an existing index in mysql? : Sql dba

541


How do I edit a stored procedure?

556


What does where 1/2 mean in sql?

539


what are the t string functions available in tsql? : Transact sql

545


What is primary key and unique key?

547


Explain the uses of database trigger.

657


What does truncate mean in sql?

536


What is sqlexception in java?

551