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!

A mistake that I can see it. :(( 1

Status
Not open for further replies.

C05MIN

Programmer
Dec 23, 2004
4
RO
show tables' at line 1
mysql> show tables
-> ;
+--------------------+
| Tables_in_librarie |
+--------------------+
| carti |
| tabel_test |
+--------------------+
2 rows in set (0.02 sec)

mysql> set insert_id=#;
-> ALTER TABLE carti ADD id_carte INT UNSIGNED NOT NULL AUTO_INCREMENT FIRST , ADD INDEX (id_carte);
ERROR 1064: You have an error in your SQL syntax near 'ALTER TABLE carti ADD id_
carte INT UNSIGNED NOT NULL AUTO_INCREMENT FIRST , ADD ' at line 2
mysql>


Please help me. I search the syntax over and over
And I am receiving the same ERROR.
 
Thanks for that.
I am a beginner and it shows!!
Thanks allot.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top