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 trigger types of trigger?
how to fetch common records from two tables? : Sql dba
What is a temporal table?
what is global variable in package
What is a nested table in word?
How can multiply values of a column? OR How can multiply value of a row of a column using a single query in SQL?
Create a procedure to delete certain records from a table and display the total number of records deleted in this process. (Condition for deletion can be of ur choice, for instance delete all records where eid='')
How is data stored on a disk?
mail-id table contains two columns(email_id,userid) it contains different types of mail-ids,and no of users. here username length is differ na,(ex- tamil@yahoo.com,joshua@hotmail.com like) now i want to fetch the email-ids only starting from '@' (ex-@gmail.com,@yahoo.com,@hotmail.com
1 SELECT a.field1, b.field2, c.field3, d.field4 2 FROM atable a, atable b, ctable c, dtable d 3 ? 4 ORDER BY 1 What is the minimum number of joins that must be specified on line 3 in the sample code above to properly link the tables? Notice that the table "atable" is aliased twice: once as "a" and once as "b." 1. One join 2. Two joins 3. Three joins 4. Four joins 5. Five joins
Authentication mechanisms in Sql Server ?
How can I make sql query run faster?
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)