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, 2395🔥, 1💬
Popular Posts:
How To Concatenate Two Character Strings Together in SQL Server Transact-SQL? Concatenating two char...
How to detect the collation coercibility associated to a given character string using the COERCIBILI...
How To Verify a User name with SQLCMD Tool in SQL Server? The quickest way to verify a user name in ...
What Happens to Your Transactions When ERROR 1213 Occurred in MySQL? If your transaction receives th...
What is sqlservr.exe - Process - SQL Server (SQLEX?PRESS) in SQL Server? Process sqlservr.exe is the...