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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

no Primary key

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I get this mesage "Data in this table cannot be edited because it has no primary key."

I have some bad data that i inpited on a php bb and I am using webmin and taht is the mesage I have when I view the table contents. when I try to delet the data via the script in the bb I get a MySQL syntax error.

How can I edit the data with out a primary key, or is that the problem.
 
ALTER TABLE problem PRIMARY KEY unique_field
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top