How to Search particular Text in Sql-Server.

 Posted by vishalneeraj-24503 on 12/13/2013 | Category: Sql Server Interview questions | Views: 2239 | Points: 40
Answer:

With the help of CharIndex() sql-serverfunction,we can search any Text inside any String.

For Example:-

CHARINDEX('Vishal','Vishal Kumar');


Here,1st argument is our Search criteria and 2nd argument is our String to which charindex will find text.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response