Guest User

Untitled

a guest
May 20th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. --for 15 days
  2. select * from Property where DATEDIFF(Getdate(),expirationdate)<=15
  3.  
  4. --for 30 days
  5. select * from Property where DATEDIFF(Getdate(),pexpirationdate)<=30
Add Comment
Please, Sign In to add comment