How i should write this sql query, than its work on access also.
I like to have all customers who have started 20 years ago from this year
VB Code:
sSQL="select customername,startdate from customers where DATEDIFF(year, startdate, getdate())>19"
|
Results 1 to 3 of 3
Threaded View
|
Click Here to Expand Forum to Full Width |