![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| Database Database problems or need to ask a question? maybe something to do with sql injections or a database software question. Database topics cover MySQL, PostgreSQL, Oracle, SQL Server or anything else related to databases. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| hello I try to create a table with this statment CREATE TABLE referants ( id int(10) DEFAULT '0' NOT NULL auto_increment, referant char(200) NOT NULL, hits int(10) DEFAULT '0' NOT NULL, UNIQUE id (id) ); but MySQL return a error message #1067 - Invalid default value for 'id' and because I'm a beginner I don't know how to avoid this error thanks for your help bruno | |||
| | #2 | ||
| bruno - bdf wrote: > hello > I try to create a table with this statment > CREATE TABLE referants ( > id int(10) DEFAULT '0' NOT NULL auto_increment, > referant char(200) NOT NULL, > hits int(10) DEFAULT '0' NOT NULL, > UNIQUE id (id) > ); > > but MySQL return a error message > #1067 - Invalid default value for 'id' > > and because I'm a beginner I don't know how to avoid this error > > thanks for your help > > bruno > > Answered in comp.databases.mysql. Please cross-post instead of multi-posting. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ================== | |||
| Featured Websites | ||||
|
![]() |
| Tags: default |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| default photo editor | Ken Holmes | Graphics in general | 0 | 05-28-2007 7:58 PM |
| Print Default Setting for BMP (Grayscale) | Bruce E. Caylor | Graphics in general | 0 | 05-28-2007 7:58 PM |
| default text attributes | Adhesive Labels | Graphics in general | 2 | 05-28-2007 7:52 PM |
| Driver problem? default monitor keeps popping up | Not so quick | Operating Systems And Software | 0 | 05-28-2007 5:51 PM |
| MSN PREMIUM.Change Default Search ?????? | mainframeguy | MSN questions | 2 | 05-28-2007 1:45 AM |
| Featured Websites | ||||
|