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 |
How does join work in sql?
What is the difference between joins?
What are stuff and replace function?
What is the purpose of design view?
How many types of sql are there?
What is Collation Sensitivity ? What are the various type ?
How do you write a subquery?
What is primary key and unique key?
How many types of normalization are there?
HOW TO ADD PRIMARY KEY TO TABLE BY PL/SQL PROGRAM
I have a package in which a table was used in a procedure and compiled later i have dropped the table used in the package what would be the status of package specification and body
How do I partition a table 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)