I want to create two columns StartDate and endDate but I'll have to create a rule for the startDate to be lesser than the EndDate. How do I create this?
I want to create two columns StartDate and endDate but I'll have to create a rule for the startDate to be lesser than the EndDate. How do I create this?
although it can be done by means of check constraint. if this is for a webpage then best thing would be do validation at the client side if you want to avoid db calls for invalid input values
------------------------------------------------------------------------------------------------------ SQL Server MVP http://visakhm.blogspot.com/