Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Renaming primary column

Status
Not open for further replies.

kupe

Technical User
Sep 23, 2002
376
Can I rename a Primary Key column in MySql?
 
Probably, unless you have foreign keys referencing it, then I'm doubtful.
 
Thanks, Eric. Since posting this, I gather from Kevin Yank's book on php and mysql that naming columns is the same as CHANGE COLUMN only you don't apply the new properties. But I have yet to try it. Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top