SQL server queries the data within the specified range (one week, one month, this week, this month, etc.)

From , 4 Years ago, written in SQL, viewed 54 times.
URL https://pastebin.vip/view/2d45cbe9
  1. SELECT * FROM ShopOrder WHERE datediff(week,ordTime,getdate()-1)=0  
  2.  
  3.  

Reply to "SQL server queries the data within the specified range (one week, one month, this week, this month, etc.)"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website