SQL Date Conditions -


how create date condition user add date after specific time adding limit date value?

example:

i need create hire_date requires user enter date after 01/12/1980.

most databases support ansi standard check constraint:

alter table t     add constraint chk_t_hiredate check (hiredate > date '1980-12-01'); 

note date keyword not needed (or allowed) in databases.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -