DUPLICAR UNA BASE DE DATOS.
TENGO UN PROGRAMA QUE MANEJA CONTRATOS Y ESTE TIENE UN GRID DONDE SE VISUALIZAN LOS DATOS YA INTRODUCIDOS A LA BASE DE DATOS.
COMO PUEDO DUPLICAR UNA BASE DE DATOS, SI QUIERO QUE EL NOMBRE DE MI NUEVA BASE DE DATOS SEA EL DATO QUE TENGO DENTRO DE UN GRID.
QUIERO QUE EL NOMBRE DE LA NUEVA TABLE SEA EL QUE YO SELECCIONE.
YA SE QUE CON COPY STRUCTURE LO PUEDO HACER, PERO TENGO PROBLEMAS AL INTENTAR HACERLO.
COMO PUEDO DUPLICAR UNA BASE DE DATOS, SI QUIERO QUE EL NOMBRE DE MI NUEVA BASE DE DATOS SEA EL DATO QUE TENGO DENTRO DE UN GRID.
QUIERO QUE EL NOMBRE DE LA NUEVA TABLE SEA EL QUE YO SELECCIONE.
YA SE QUE CON COPY STRUCTURE LO PUEDO HACER, PERO TENGO PROBLEMAS AL INTENTAR HACERLO.
Johnny.
Especifica que problemas tenes al intentar copiar la estructura de una tabla, ¿aparece error o mensaje ?.
Alex Vargas
Especifica que problemas tenes al intentar copiar la estructura de una tabla, ¿aparece error o mensaje ?.
Alex Vargas
>COMO PUEDO DUPLICAR UNA BASE DE DATOS,...
El duplicar, seria crear una 2a tabla con todo y contenido (Copy File..con alguna salvedad).
>CON COPY STRUCTURE LO PUEDO HACER,...esto solo pasaria la estructura a la 2a. tabla, sin registros.
Esta algo confuso, Johnny. Y pues como dice Alex, aporta mas datos sobre el problema com Copy sTru.
El duplicar, seria crear una 2a tabla con todo y contenido (Copy File..con alguna salvedad).
>CON COPY STRUCTURE LO PUEDO HACER,...esto solo pasaria la estructura a la 2a. tabla, sin registros.
Esta algo confuso, Johnny. Y pues como dice Alex, aporta mas datos sobre el problema com Copy sTru.
Al utilizar el comando COPY STRUC solamente copias la estructura, si utilizas el comando:
cuando ya esta cargada la base da datos
sele articulo
copy to c:temparticulo.dbf with production
Copiara no solo la estructura y los registros, tambien te copiara el CDX.
Si no esta cargada pues cargala primero.
cuando ya esta cargada la base da datos
sele articulo
copy to c:temparticulo.dbf with production
Copiara no solo la estructura y los registros, tambien te copiara el CDX.
Si no esta cargada pues cargala primero.