MySQL Forums
Forum List  »  Russian

Хранимые процедуры _ в названии поля
Posted by: Lopatin Konstantin
Date: October 18, 2007 07:08AM

CREATE FUNCTION access() RETURNS int(11)
BEGIN
DECLARE master_id int(11);
SELECT `masterid` INTO master_id FROM `__a_table` WHERE `id`='2';
RETURN master_id;
END;

работает, а если перенменовать masterid в master_id то SELECT access() возвращяет NULL
mysql 5.0.24
подскажите плз, можно ли решить. В мануле ничего не нашел.

Options: ReplyQuote


Subject
Views
Written By
Posted
Хранимые процедуры _ в названии поля
6989
October 18, 2007 07:08AM


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.