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 |  
                                    | DarkstoneStarting Member
 
 
                                        1 Post | 
                                            
                                            |  Posted - 2010-03-31 : 14:22:19 
 |  
                                            | Hi,I have a query that goes like thisSELECT *FROM LibraryWHERE title LIKE '%The%';And when I run it, it doesn't return any rows from the table.There are rows which it should return, and I am 90% sure that the syntax goes like that, and still it doesn't work.Any help? |  |  
                                    | PackRatStarting Member
 
 
                                    26 Posts | 
                                        
                                          |  Posted - 2010-03-31 : 14:36:25 
 |  
                                          | I may be a little fuzzy on access sql, but I think you need to use * as the wildcard rather than %SELECT *FROM LibraryWHERE title LIKE '*The*';_____________________________wrote this on my TRS-80 COCO4<PakRat/> |  
                                          |  |  |  
                                    | AndrewMurphyMaster Smack Fu Yak Hacker
 
 
                                    2916 Posts | 
                                        
                                          |  Posted - 2010-04-06 : 05:29:40 
 |  
                                          | have you case-sensitive data?  maybe "The" should be "the" |  
                                          |  |  |  
                                |  |  |  |