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 2008 Forums
 Transact-SQL (2008)
 like where query

Author  Topic 

ramesh.g
Starting Member

11 Posts

Posted - 2010-10-05 : 02:25:24
Thank you tara for reply.

if i write query below

for example - Select * from tbljob where criteria like 'maids'

Then it should display record

maid
ma
mai
maids

also.

then please make appropriate changes in the above query and reply

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2010-10-05 : 07:12:17
One possible method is

Select * from tbljob where criteria like 'ma%'


Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -