If an unique key constraint on DATE column is created, will
it validate the rows that are inserted with SYSDATE?

Answers were Sorted based on User's Feedback



If an unique key constraint on DATE column is created, will it validate the rows that are inserted..

Answer / kangana

uNIQUE CONSTARINT CAN VALIDATE PSEUDOCLOUMN SYSDATE

SYSDATE FORMAT IS LIKE 3/2/2010 8:42:46 PM

SO FOR EACH MILLISECOND IF U INSER A ROW IT WILL TAKE THE
INSERTION BUT IF U INSERT IN EACH FRACTION OF MILLISECOND
ITS VALIDATE AND UNIQUE CONSTARINT IS VOILATED.

Is This Answer Correct ?    14 Yes 0 No

If an unique key constraint on DATE column is created, will it validate the rows that are inserted..

Answer / nagendra

Yes, it will validate the rows that are inserted with sysdate

Is This Answer Correct ?    9 Yes 3 No

If an unique key constraint on DATE column is created, will it validate the rows that are inserted..

Answer / zikku

No Date column can not validate the rows that are inserted
with sysdate.

Is This Answer Correct ?    5 Yes 3 No

If an unique key constraint on DATE column is created, will it validate the rows that are inserted..

Answer / chandrasekar ramasamy

No B'coz the sysdate contains date and time format

Is This Answer Correct ?    5 Yes 3 No

Post New Answer

More SQL PLSQL Interview Questions

Give an example of any procedure.

5 Answers   Accenture, iFlex, Wipro,


What is the default value of CHAR type?

3 Answers   Bosch,


What are some emotional triggers?

0 Answers  


How do I find duplicates in a single column in sql?

0 Answers  


If a cursor is open, how can we find in a pl/sql block?

0 Answers  






Is it possible for a table to have more than one foreign key?

0 Answers  


What are records give examples?

0 Answers  


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

0 Answers  


What is difference between stored procedure and trigger?

0 Answers  


How do you go back in sql?

0 Answers  


Explain isolation levels. : Transact sql

0 Answers  


What is orm in sql?

0 Answers  


Categories