I'm working on a some Create Table statements for a project I have. I have two columns (StartDate, EndDate) where the data type is Timestamp. One of the requirements is to ensure that the date is fixed (January 1, 2000) but leave the time variable. How would I go about including that in my Create Table statement?
Constrain Partial Values in Timestamp
constraintoracletimestamp
Related Question
- Why is add timestamp column with default not null so slow in Oracle 11g
- Oracle: How to split records across days
- PostgreSQL – Partitioning Constraint Exclusion Not Working
- How to manipulate the data contained in a quiz database
- SQL Server – Why Can’t Fixed-Length Columns Store NULLs?
- PostgreSQL – Creating Index on TIMESTAMP Column for Range Queries
- How to Trigger to Populate NOT NULL Columns in Oracle
- Sql-server – n underling difference between TIMESTAMP and ROWVERSION when creating columns with each
Best Answer
Try something like