MySQL Forums
Forum List  »  Russian

Тип int и значение ''
Posted by: Yuriy Nezhura
Date: December 07, 2008 06:21AM

Перестал работать
insert into tabl1 (intfild) values ('')
ругается 1264 - Out of range value adjusted for column .....
где intfild int(2) default NULL

как заставить продолжать '' понимать как "0"
Не могу понять что зацепил, вчера работало - сегодня нет.

Options: ReplyQuote


Subject
Views
Written By
Posted
Тип int и значение ''
6159
December 07, 2008 06:21AM


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.