Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to rename a table of a database?
Message
De
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:
01178424
Vues:
14
>>Are you aware that you can simply Use the dbc, and change the relevant records?
>>
>
>Since I run out of ideas in making RENAME TABLE to work, I am looking at your suggestion.
>
>But when I look at making changes to the .DBC, I seem to have a problem with the value in the .Property field. Do you have an example of how to change the .DBC with regard to a table name?

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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform