SQL Server Questions and Answers – Full Text Search

This set of SQL Server Multiple Choice Questions & Answers (MCQs) focuses on “Full Text Search”.

1. Full-Text Search in SQL Server lets users and applications run _________ queries.
a) simple queries
b) full-text
c) scalar
d) none of the mentioned
View Answer

Answer: b
Explanation: Before you can run full-text queries on a table, the database administrator must create a full-text index on the table.

2. Point out the correct statement.
a) The full-text index includes only one character-based column in the table
b) The full-text index includes more than one character-based columns in the table
c) The full-text index includes one or more character-based columns in the table
d) None of the mentioned
View Answer

Answer: c
Explanation: Each full-text index indexes one or more columns from the table, and each column can use a specific language.

3. Full-text search is an ________ component of the SQL Server Database Engine.
a) slower
b) optimal
c) faster
d) none of the mentioned
View Answer

Answer: b
Explanation: Full-text queries perform linguistic searches against text data in full-text indexes.
advertisement
advertisement

4. We can create a full-text index on _____________
a) table
b) view
c) indexed view
d) all of the mentioned
View Answer

Answer: d
Explanation: Full text index can contain up to 1024 columns.

5. Point out the wrong statement.
a) To define full-text searches, SQL Server full-text queries use the full-text predicates
b) Full-text queries perform linguistic searches against text data
c) Before you can run full-text queries on a table, the database administrator must create a full-text index on the table
d) Full-text search is applicable to a shorter range of business scenarios
View Answer

Answer: d
Explanation: Full-text search is applicable to a wide range of business scenarios such as e-businesses—searching for items on a web site; law firms—searching for case histories in a legal-data repository; or human resources departments—matching job descriptions with stored resumes.

6. Full text indexing is a great feature that solves a database problem, the searching of _________ columns for specific words and phrases in SQL Server databases.
a) Textual data
b) Character data
c) String
d) All of the mentioned
View Answer

Answer: d
Explanation: Full Text Index can be used to search words, phrases and multiple forms of word or phrase.

7. Which of the following predicates is used for full text search?
a) TEXT()
b) FREETEXT()
c) TEXT()
d) All of the mentioned
View Answer

Answer: b
Explanation: Full Text Index can be used to search words, phrases and multiple forms of word or phrase using FREETEXT() and CANTAINS() with “and” or “or” operators.
advertisement

8. FREETEXTTABLE is a full text _____________
a) Predicate
b) Function
c) Procedure
d) All of the mentioned
View Answer

Answer: b
Explanation: FREETEXTTABLE functions are referenced like a regular table name in the FROM clause of a SELECT statement.

9. The CONTAINS and FREETEXT predicates return a _________ value.
a) TRUE or FALSE
b) Scalar
c) One
d) All of the mentioned
View Answer

Answer: a
Explanation: The CONTAINS and FREETEXT predicates return a TRUE or FALSE value. They can be used only to specify selection criteria for determining whether a given row matches the full-text query.
advertisement

10. CONTAINS and CONTAINSTABLE look for a _______ match for the phrase.
a) exact
b) similar
c) different
d) none of the mentioned
View Answer

Answer: a
Explanation: In full-text search, a word (or token) is a string whose boundaries are identified by appropriate word breakers, following the linguistic rules of the specified language.

Sanfoundry Global Education & Learning Series – SQL Server.

To practice all areas of SQL Server, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.