Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing table's fields?

Status
Not open for further replies.

baran121

Programmer
Joined
Sep 8, 2005
Messages
337
Location
TR
Hi,
I want to learn can i change a table's fields with code.
thanks.
 
i looked to SQL Help for ALTER TABLE,
but i couldnt find which i want to do.
i want to change not only column's type,but olso column's name.i found a code on net,but it didnt work.there is code:

ALTER TABLE [ ONLY ] name [ * ]
RENAME [ COLUMN ] column TO new_column

please help me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top