Instead of deleting records, you can put a WHERE in a place that excludes records depending on their expiration date:
SELECT PackageName FROM Package WHERE ExpiryDate>GETDATE()
However, if you still want to remove them from the database, you can place an SQL Job that runs every day / hour, etc. which will delete the expired entries:
DELETE FROM Package WHERE ExpiryDate<GETDATE()
source share