Campo contatore tipo AUTO_INCREMENT
Salve ragazzi, sono nuovo del forum....
Chiedo il vostro aiuto xchè non sò più cosa fare..
Il mysql che uso è un 4.1.12.
Mi spiego:
devo creare una db da 2 table ed in più aggiungere un campo che funga da contatore.
id | field1 | field2 ...
0 | rrr | ttt
1 |.....
2 |......
estrarre i dati dalle 2 db non è un problema ma creare e riempire il campo "id" sì.
- Ho provato con PRIMARY KEY ma non mi utilizza il valore "0" che x me è fondamentale.
- Ho provato con SET di una mia variabile ma la lascia sempre vuota.
Non sò più cosa fare....aiutatemi vi prego.
Subject
Views
Written By
Posted
Campo contatore tipo AUTO_INCREMENT
9307
October 07, 2008 02:13AM
7059
October 14, 2008 02:51AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.