Full Text Search Index in MySql? -
i writing query using full text search index right or wrong.
select sum(p_bi.iqty) patientbillitem p_bi, patientbillpayment p_b match(p_bi.vitemcode) against( 'pbi.vitemcode') pbi.vitemcode separate table column take string true or not?
as mysql documentation on match() ... against() ... says:
against takes string search for, , optional modifier indicates type of search perform. search string must string value constant during query evaluation. rules out, example, table column because can differ each row.
this means query search string literal of 'pbi.vitemcode' within p_bi.vitemcode field, not contents of pbi.vitemcode field.
Comments
Post a Comment