Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rename a field by using a query
Message
From
07/03/2001 09:23:43
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Rename a field by using a query
Miscellaneous
Thread ID:
00482659
Message ID:
00482659
Views:
61
I need to rename a field in my database using a query..
I'm coding in VB and i'm link with an ODBC.. unfortunatly..
this :

ALTER TABLE NameOfTable RENAME COLUMN NameOfField TO NewNameOfField

does not work.. i keep having thi error
"Syntax error in ALTER TABLE statement"

I know the RENAME exist for foxPro but doesn't seem to work for VB
is there another way?
Next
Reply
Map
View

Click here to load this message in the networking platform