Translate Function in SQL

TRANSLATE This will replace the set of characters, character by character.To replace the single character at a time. Syntax: translate (string, old_chars, new_chars) Ex: select translate('india','in','xy') from dual; output translate('india','in','xy')…

0 Comments

RTRIM Function

RTRIM This will trim off unwanted characters from the right sides of string.This will remove all the specific characters from right side of string. Syntax: rtrim (string [, unwanted_chars]) Ex:…

0 Comments

LTRIM Function

LTRIM This will trim off unwanted characters from the left sides of string.This will remove all the specific characters from left side of string. Syntax: ltrim (string [,unwanted_chars]) Ex: select…

0 Comments

TRIM Function

TRIM This will trim off unwanted characters from the both sides of string.This will remove all the specific characters from both side of string. Syntax: trim (unwanted_chars from string) Ex:…

0 Comments