Informatics Practices
INSTR() and SUBSTR() work identically.
SQL Queries
2 Likes
Answer
False
Reason — The INSTR()
function searches for the given second string into the given first string, while the SUBSTR()
function extracts a substring from a given string.
Answered By
1 Like
Related Questions
Functions MID() and SUBSTR() do the same thing.
Date() and Day() return the same thing.
Assertion. Single row functions when applied on a column in a table, yield multiple values equal to number of rows in the table.
Reason. Single row functions work with individual rows and yield values accordingly.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
Assertion. Multi-row functions when applied on a column in a table, yield values which are not equal to number of rows in the table.
Reason. Multiple-rows functions do not work with all the rows in the table.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.