Please start any new threads on our new 
    site at https://forums.sqlteam.com.  We've got lots of great SQL Server
    experts to answer whatever question you can come up with.
    
        | 
                
                    | 
                            
                                | Author | Topic |  
                                    | madpop1Starting Member
 
 
                                        4 Posts | 
                                            
                                            |  Posted - 2014-11-30 : 00:54:28 
 |  
                                            | Hi friends im having a problem here i have created a table with below format city	nvarchar(255)	company	nvarchar(255)	country	nvarchar(255)	date	nvarchar(255)	expired	bit	indeedApply	bit	jobkey	nvarchar(255)	if u see "date" column in that column i have insterted the data like this  " Sun, 09 Nov 2014 11:21:48 GMT " now i want to displa posting of  the data  of last 7 days  the contents of the data is like this                dateSun, 09 Nov 2014 11:21:48 GMTFri, 24 Nov 2014 20:48:42 GMTFri, 20 Nov 2014 22:31:35 GMTFri, 18 Nov 2014 19:32:46 GMTFri, 21 Nov 2014 16:20:09 GMTSun, 20 Nov 2014 06:06:39 GMTSat, 19 Nov 2014 06:52:27 GMTfrom this i want to retrieve the date of  nov 30-20 |  |  
                                    | jackvMaster Smack Fu Yak Hacker
 
 
                                    2179 Posts | 
                                        
                                          |  Posted - 2014-11-30 : 02:32:40 
 |  
                                          | what is the query you are currently using?Jack Vamvas--------------------http://www.sqlserver-dba.com |  
                                          |  |  |  
                                    | viggneshwarYak Posting Veteran
 
 
                                    86 Posts | 
                                        
                                          |  Posted - 2014-12-04 : 09:39:39 
 |  
                                          | select cast(Left(STUFF('Sun, 09 Nov 2014 11:21:48 GMT',1,5,''),20) as datetime)RegardsViggneshwar A |  
                                          |  |  |  
                                |  |  |  |