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 a string and the task is to find whether it is Palindrome or not.
Input: str = geeksskeeg Output: geeksskeeg is palindrome Input: str = geeks Output: geeks is not palindrome
Approach is to take the string, reverse it and check whether the reversed string is equal to the original string or not. If it is equal, then it will be palindrome otherwise not.
Below is the required implementation:
abccba is palindrome
- Check if a number is Palindrome in PL/SQL
- PLSQL | COS Function
- PLSQL | LN Function
- PLSQL | MOD Function
- PLSQL | EXP Function
- PLSQL : || Operator
- PLSQL | SIN Function
- PLSQL | TAN Function
- Difference between SQL and PLSQL
- PLSQL | ABS Function
- PLSQL | CHR Function
- PLSQL | LOG Function
- PLSQL | LEAST Function
- PLSQL | CONCAT Function
- PLSQL | COMPOSE Function
- PLSQL | INSTR Function
- PLSQL | TRANSLATE Function
- PLSQL | ASIN Function
- PLSQL | ASCII Function
- PLSQL | VSIZE 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 email@example.com. 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.