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
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 |
Answer / nagendra
Yes, it will validate the rows that are inserted with sysdate
| Is This Answer Correct ? | 9 Yes | 3 No |
Answer / zikku
No Date column can not validate the rows that are inserted
with sysdate.
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / chandrasekar ramasamy
No B'coz the sysdate contains date and time format
| Is This Answer Correct ? | 5 Yes | 3 No |
What is a procedure in pl sql?
What are the two types of exceptions.
wirte a query to remove null? following table are col1 col2 col3 dinesh null null null suresh null null null prakesh i want the output like col1 col2 col3 dinesh suresh prkaesh
How do you use join?
What is crud sql?
How to remove duplicate rows from a table?.
What is an index in sql with example?
What are the different types of sql commands?
Can i use Commit inside the Trigger? Suppose i use commit what will be happy (it's complied /executed/work)
Will truncate release space?
What is data definition language?
If a procedure within a package is invalidated whether the entire package will be invalid and has to be recompiled again?
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)