Collections:
Function Name Case Insensitive
Are MySQL function names case sensitive?
✍: FYIcenter.com
No. MySQL function names are not case sensitive.
You can write function names in upper case or lower case.
For example:
SELECT PI(), pi(), Pi(); -- +----------+----------+----------+ -- | PI() | pi() | Pi() | -- +----------+----------+----------+ -- | 3.141593 | 3.141593 | 3.141593 | -- +----------+----------+----------+
Function argument modifiers are also not case sensitive. For example:
SET @str = 'Yahooo'; SELECT TRIM(BOTH 'o' FROM @str), trim(both 'o' from @str); -- +--------------------------+--------------------------+ -- | TRIM(BOTH 'o' FROM @str) | trim(both 'o' from @str) | -- +--------------------------+--------------------------+ -- | Yah | Yah | -- +--------------------------+--------------------------+
⇐ Calling MySQL Built-in Functions
2025-09-18, 2140🔥, 1💬
Popular Posts:
What is test testing area for? The testing area is provided to allow visitors to post testing commen...
How To List All Stored Procedures in the Current Database in SQL Server Transact-SQL? If you want to...
Where to find answers to frequently asked questions I am new to Oracle database. Here is a list of f...
How To Divide Query Output into Multiple Groups with the GROUP BY Clause in SQL Server? Sometimes, y...
Where to find MySQL database server tutorials? Here is a collection of tutorials, tips and FAQs for ...