General information
Forum:
Microsoft SQL Server
Title:
Rename a field by using a query
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only