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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Question

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-08-25 : 10:40:40
Nina writes "I wanna to search a word in the sentences,but i want to omit spaces then search.
Select aye from table1 where trim(aye) like '%TEXT%'"

robvolk
Most Valuable Yak

15732 Posts

Posted - 2006-08-25 : 10:41:18
Why trim at all? It won't affect the results of the search and may even take longer to process.
Go to Top of Page
   

- Advertisement -