Question : Sql 2008 Query weekdays

The query below returns the next Wednesday 9/15/2010. I need it to return 9/8/2010

But if I enter 9/9/2010 I what it to also return 9/8/2010

Help!!
1:
Select  DATEadd("d",7-3-datepart("dw",'2010-09-12'),'2010-09-12'),
Related Solutions: Sql 2008 Query

Answer : Sql 2008 Query weekdays

Try the following command and install ftp.

sudo apt-get install ftp
Random Solutions  
 
programming4us programming4us