Multiple choice technology mainframe

which function returns the position of a word?

  1. word()

  2. wordindex()

  3. wordnumber

  4. wordno()

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

wordindex() returns the position of a specified word within a string. This is a database-specific function (appears in some older systems). The question has grammatical issues ('which' should be capitalized) and the function name may not be standard across SQL dialects.