Click here to Skip to main content
15,907,905 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi friends

i need How to write Sql query for below...

INSTR(‘The quick sly fox jumped over
the lazy brown dog’,’zyb’,)

Description: Locates find_string in ‘x’ & returns position: optionally,
start & occurrence (#) can be specified
Posted
Comments
Member 4338970 31-May-15 23:37pm    
The question is confusing.
Please can you further elaborate your question.
Advay Pandya 1-Jun-15 2:13am    
Please elaborate more on this.

1 solution

check the documentation and examples for CHARINDEX (Transact-SQL)[^]
 
Share this answer
 
Comments
Maciej Los 1-Jun-15 2:46am    
+5
DamithSL 1-Jun-15 4:34am    
Thank you Maciej

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900