Test for a NULL variable
Posted by:
neilc
Date: August 22, 2005 03:29PM
I am porting a number of MSSQL stored procedures to MYSQL. How do I simulate testing for a NULL variable? In MSSQL it is:
IF Number IS NULL
BEGIN
SET Number = 0;
END IF;
This does not work in MySQL however (syntax error).
Thanks in advance.
Subject
Written By
Posted
Test for a NULL variable
August 22, 2005 03:29PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.