Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alterar o nome de um campo no SQL Server
Message
From
25/10/2002 16:14:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Alterar o nome de um campo no SQL Server
Miscellaneous
Thread ID:
00715632
Message ID:
00715632
Views:
104
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
Next
Reply
Map
View

Click here to load this message in the networking platform