Skip to content
Advertisement

SQL return rows on or after an specific date

I am trying to export a list of member details that have an expiry date after 2019

so I am just after

I thought I could simply use the date in a WHERE clause

However, it still returns the other entries and not sure why

Advertisement

Answer

Assuming that you are using SQL Server:

dbfiddle

enter image description here

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement