Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inicializador de campo incremental
Message
 
To
13/08/2009 17:10:31
Luis Parada
Prosoft´s de Venezuela, C.A.
Valencia, Venezuela
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01418014
Message ID:
01418018
Views:
45
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
Previous
Reply
Map
View

Click here to load this message in the networking platform