Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » Fields of the same name in diff tables
Re: Fields of the same name in diff tables [message #21706 is a reply to message #21690] Mon, 01 June 2009 16:23 Go to previous messageGo to previous message
jeremy_c is currently offline  jeremy_c
Messages: 175
Registered: August 2007
Location: Ohio, USA
Experienced Member
It is Sqlite3. Here is the line causing the problem:

    STRING_ (NAME, 80) NOT_NULL UNIQUE


Here is the log line that shows what is going on behind the scenes:

ERROR Cannot add a NOT NULL column with default value NULL(0): Preparing: alter table SUPPLIER add
NAME text not null

Basically, I do not want it to be NULL and I want no default. I would like it to be required to be supplied by the application/user.

Jeremy
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Weird Date bevaviour in Sqlite
Next Topic: SqlLite3 crashes on Fetch()
Goto Forum:
  


Current Time: Fri Mar 29 13:24:30 CET 2024

Total time taken to generate the page: 0.01220 seconds