If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > primary key id help - autonumber

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-13-04, 11:28
-Dman100- -Dman100- is offline
Registered User
 
Join Date: Jan 2004
Posts: 124
primary key id help - autonumber

I'm brand new to using MySQL. We setup a simple table with 8 fields. The primary key was not setup as an autonumber. The primary key was setup initially for the title field, which we want to setup now an id field as an autonumber.

We when try to insert the id field as the primary key it doesn't show in the table. Can anyne offer any help or suggestions on what might be causing the id field to not show up?

Thanks for any help.
-Dman100-
Reply With Quote
  #2 (permalink)  
Old 07-13-04, 14:48
guelphdad guelphdad is offline
Registered User
 
Join Date: Mar 2004
Posts: 440
show us how you are attempting to alter the table to add this column.
Reply With Quote
  #3 (permalink)  
Old 07-13-04, 15:30
-Dman100- -Dman100- is offline
Registered User
 
Join Date: Jan 2004
Posts: 124
Problem fixed...
Just exported to an Access db and added the id field set to the primary key and then re-exported to MySQL.
-Dman100-
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On