1.

Explain the difference between replace() and translate() functions in Oracle?

Answer»
S.noREPLACE()TRANSLATE()
1.It REPLACES the complete string at onceIt replaces the character ONE by one
2.If no MATCH is found, then it returns the stringIf no match is found, then it returns the NULL value.
3.REPLACE( string1, string_to_replace [, replacement_string] )TRANSLATE( string1, string_to_replace, replacement_string )


Discussion

No Comment Found