Category
- Php
- JAVA
- DOTNET
- Vbscript
- C
- vb
- html
- Mysql
- Oracle
- sql
- Db
- Computer
- Commerce
- Business
- Arts
- Cashier
- Audit
- Banking
- Accounts
- Math
- Physics
- Biology
- Others
Home >> Asked Questions >> Mysql
Q. What is the use of Fulltext Search?
Answer :
Full text search is used to search a complete phrase in a given string.
For full text search 1st alter the table
ALTER TABLE tbl_name ADD FULLTEXT(fld_name1, fld_name2);
SELECT fld_name1, fld_name2 FROM tbl_name
WHERE MATCH (fld_name1,fld_name2) AGAINST ('text');
For full text search 1st alter the table
ALTER TABLE tbl_name ADD FULLTEXT(fld_name1, fld_name2);
SELECT fld_name1, fld_name2 FROM tbl_name
WHERE MATCH (fld_name1,fld_name2) AGAINST ('text');
Posted By : app101
Most Viewed Questions