REPLICATE: Replicate is used to replicate values as number of times we need to wish to appear.
Example : If I want SQL word 5 times, then
SELECT REPLICATE ('SQL', 5)
The result will be as shown below :
Syntax: REPLICATE ("string that you want TO append" ,"INTEGER VALUE" )
Example : If I want SQL word 5 times, then
SELECT REPLICATE ('SQL', 5)
The result will be as shown below :
REVERSE: If we need to reverse a string value, We can use Reverse function for such operations.
Syntax:
Syntax:
REVERSE("STRING WE NEED TO REVERSE")
Example:
SELECT REVERSE ('DATABASE')
The output is shown in snippet
Comments
Post a Comment