[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sapdb-general
Subject:    Re: AW: [BUG] defaults is used instead of given value
From:       Sven =?ISO-8859-1?Q?K=F6hler?= <skoehler () upb ! de>
Date:       2004-09-28 14:46:45
Message-ID: 1096382805.3011.2.camel () erni ! sven ! home-net
[Download RAW message or body]

> If an INSERT statement inserts the value 0 in this column, you get the current number generator value and not the value 0.
> 
> ==> The behaviour found is the wanted and implemented one.

So this is "0 is replaces by serial-value" is an exception to the "null
gets replaced by default"-rule?

So how can i insert the value "0" into a "INT DEFAULT SERIAL"-column?


-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/maxdb?unsub=sapdb-general@progressive-comp.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic