Hi foxpro users,
i need an select statement in which which should give me informations on a particular date. i would like to test a date column(date_limit) to see if the month of that date minus 3 month = the system month part of the current date.
i think this should work on an sql server. It gives me errors in foxpro. Can someone please help? The query is to know informations in the database three months from now.
i need an select statement in which which should give me informations on a particular date. i would like to test a date column(date_limit) to see if the month of that date minus 3 month = the system month part of the current date.
Code:
select * from table where (datepart('m', date()) = datepart('m', Dateadd('m', -3, date_limit))).