I have one date column MyDate
and I want those records in which MyDate
should be less than current date by 2 years.
相关问题
- SQL join to get the cartesian product of 2 columns
- sql execution latency when assign to a variable
- Difference between Types.INTEGER and Types.NULL in
- php PDO::FETCH_ASSOC doesnt detect select after ba
- Bulk update SQL Server C#
if DB Server = MS SQL , then try :-
For DB2 you can use this