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
Post a Comment