Interviewer And Interviewee Guide

Oracle SQL Interview Question:

Explain What is difference between SUBSTR and INSTR?

Submitted by: Administrator
SUBSTR returns a specified portion of a string eg SUBSTR('BCDEF',4) output BCDE
INSTR provides character position in which a pattern is found in a string. eg INSTR('ABC-DC-F','-',2) output 7 (2nd occurence of '-')
Submitted by: Administrator

Read Online Oracle SQL Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.