Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to rename a table of a database?
Message
 
 
À
17/12/2006 15:21:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01178413
Message ID:
01178425
Vues:
19
>
>No, I'm sorry. However, it looks like the name of the table itself is stored as pure text, so I would take the chance and change it. I suggest that you make sure that the length of the table names are the same.
>
>Another solution would be to use Gendbc.prg which i in the tools\Gendbc folder. This program creates a program which you can run to regenerate a DBC. This means that you can run Gendbc, change the generated program and run it. To me this sounds like a safer solution.

Thank you. I will look into the Gendbc. But it is still disappointing that there is no simple way to change a table name, both physical file name and the name in the database. What good is the RENAME TABLE command then?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform