MySQL strcmp() Function NULL Value Example
Open your MySQL Query Editor then copy & paste the below code to get the value of strcmp() MySQL Function NULL Value Example:
-- mysql strcmp() function compares exactly two values, NULL Value Example
select strcmp(NULL, NULL), strcmp(NULL, 'test'), strcmp('test', NULL), strcmp(NULL, 10/0);
-- The mysql strcmp() function returns 0 if equals
-- mysql strcmp() function returns -1 if is smaller than
-- The mysql strcmp() function returns 1 if larger than
-- OR if the comparison returns a NULL
-- mysql strcmp() function returns NULL if or is NULL
-- is comment in MySQL -- in fact it is comment in MSSQL and Oracle as well
MySQL strcmp() Function NULL Value Example - Result in MySQL Query Editor
Related Tutorial Examples
- MySQL isnull() Function Example
- MySQL strcmp() Function Number Value Example
- MySQL strcmp() Function Example :: on Equals,Large.. Values
- MySQL interval() Function Example
- MySQL coalesce() Function Example
- MySQL IF() Function Boolean Value Example
- MSSQL PRINT Like Function in MySQL Example
- How to Find MySQL Stored Procedure or Function Information
- MySQL Sub-Query: INSERT INTO SELECT... Example
- MySQL Sub-Query: INSERT INTO SELECT *... Example

No comments:
Post a Comment
leave your comments here..