Search on Text Datatype field in SQL Server 2008 -


i receiving time out errors while doing search operation on text datatype column. per client request, cannot use full-text indexes. have tried patindex, charindex , like statements. still causing timed out error.

can suggest how search on text datatype?

thanks, eswar

you use

where cast(<text_field> varchar(max)) '%something%' 

however, performance not good. agree marc_s' comment, convert field in database if can...

p.s. patindex() , charindex() work if cast text field


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -