🎴 Flashcard Mode
Oracle Database: SQL, RMAN, and IDMS Fundamentals
Which four statements correctly describe functions that are available in SQL? (Choose four.)
INTR finds the numeric position of a substring within a string, making option A correct. DECODE is a conditional function that compares an expression to search values and returns corresponding results, so D is correct. TRIM removes leading or trailing characters (or both) from strings, so E is correct. NULLIF compares two expressions and returns null if equal or the first expression if not equal, so F is correct. NVL2 does not return the first non-null expression (that's COALESCE) - NVL2 returns different values based on whether the first expression is null. TRUNC removes decimal places without rounding, while ROUND would round.