Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inicializador de campo incremental
Message
 
À
13/08/2009 17:10:31
Luis Parada
Prosoft´s de Venezuela, C.A.
Valencia, Vénézuéla
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01418014
Message ID:
01418018
Vues:
43
This message has been marked as the solution to the initial question of the thread.
>Muy buenas tardes:
>
>como se puede inicializar una tabla en donde el campo id_cod es (AutoInc)
>
>
>Muchas gracias.

No estoy seguro si entiendo, lo siguiente crea un cursor con campo autoinc:
create cursor c_test (id_cod I autoinc)
Si el cursor/tabla existe y lo que quieres es cambiar su estructura para que sea autoinc
alter table c_test alter column id_cod I autoinc nextvalue 1 step 1
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform