ASK DOT NET
asp.net c# sql 2008
Search This Blog
Wednesday, July 25, 2012
Select query without using "Like" operator
.Select query without using "Like" operator . For eg select employee name start with 'j' and city is 'Noida' in company_name
select * from empdata where CHARINDEX('j',Employee_name)=1 and CHARINDEX('Noida',company_name)>0
No comments :
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments ( Atom )
No comments :
Post a Comment