MySQL Forums
Forum List  »  General

Re: REPLACE without overwriting non-NULL or non-specified columns
Posted by: Tom Byars
Date: April 01, 2006 12:13PM

Bjorn, I've had a long look at this and can now see what it's all about. The trouble is, I can't get it to work because every user defined variable I set returns NULL.

e.g.
SET @x=3;
SELECT @x;

Returns NULL. No matter what I call the variable or whether I set it to a string or number it returns NULL. Am I missing something?

Options: ReplyQuote




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.