FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » Database discussions » Zero values in fields
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Zero values in fields [message #19842 is a reply to message #19820] Sun, 12 September 2004 14:32 Go to previous messageGo to previous message
dataj1998 is currently offline  dataj1998   Germany
Messages: 31
Registered: June 2004
Location: Germany
Karma:
Member

The solution with the option "NOT NULL" should do the whole job.

If a field is defined to be not null, you should always get a value back. But please be careful: You should set a default value for that field. If you insert a record and leave out a field with the option set and you don't have a default value, your insert will fail.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 2 Fud Forums, Can I combine users
Next Topic: Determining when to use INSERT or UPDATE
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 04:10:48 GMT 2024

Total time taken to generate the page: 0.04351 seconds