Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alterar o nome de um campo no SQL Server
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Alterar o nome de um campo no SQL Server
Divers
Thread ID:
00715632
Message ID:
00715632
Vues:
110
Pessoal,

Estou tentando sem sucesso alterar um nome de um campo numa tabela do SQL Server mas sem sucesso. Estou fazendo da seguinte forma:

? SQLEXEC(lnHandle, 'alter table cd_colegio rename column Nome to Colegio')

Vi em AERROR() a seguinte msg:

erro: 1526
Connectivity error: [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'COLUMN'.

Se alguem puder me ajudar ficarei muito grato.

[ ]'s

Vinicius
Atenciosamente,

Vinicius Ribeiro
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform