Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Necesito cambiar el nombre de campos
Message
De
13/01/2004 20:10:15
 
 
À
13/01/2004 18:39:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00866540
Message ID:
00866558
Vues:
15
>SELE 1
>use
>ALTER TABLE ana_mpio.dbf RENAME COLUMN nue_campo TO nom_campo NOVALIDATE


  • Debes abrir la tabla en forma exclusiva

  • No existe RENAME COLUMN en ALTER TABLE

  • Haz un ADD COLUMN y copiar los datos si los hay (con REPLACE)

  • Luego un DROP COLUMN de la columna vieja


  • Alex Feldstein, MCP, Microsoft MVP
    VFP Tips: English - Spanish
    Website - Blog - Photo Gallery


    "Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
    Précédent
    Suivant
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform