Prerequisite – PL/SQL Introduction
In PL/SQL code groups of commands are arranged within a block. A block group related declarations or statements. In declare part, we declare variables and between begin and end part, we perform the operations.
Given two strings and the task is to concatenate them and store it in another string.
Input: str1 = ' RAMESH', str2 = 'SURESH' Output: RAMESH SURESH Input: str1 = ' Ramesh is a good boy', str3 = 'and', str2 = 'Suresh is a brilliant student'. Output: Ramesh is a good boy and Suresh is a brilliant student
Approach is to use the concatenation operator i.e. || .
Below is the required implementation:
Ramesh is a good boy and Suresh is a brilliant student
- SQL | Concatenation Operator
- PLSQL | LEAST Function
- PLSQL : || Operator
- PLSQL | TAN Function
- PLSQL | ABS Function
- PLSQL | COS Function
- PLSQL | SIN Function
- PLSQL | LOG Function
- PLSQL | LN Function
- PLSQL | MOD Function
- Difference between SQL and PLSQL
- PLSQL | CHR Function
- PLSQL | EXP Function
- PLSQL | TRANSLATE Function
- PLSQL | SUBSTR Function
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.