Jump to content

Change coloum name


lordfa9

Recommended Posts

I need to change the column name of one of my tables for example

ItemID		  ItemName1					  Coffee

changed to

StockID		  StockName1					  Coffee

i need an SQL statement to do that, i want the name to be changed (instead of using an AS command)I was also reading something about using the ALTER TABLE and ALTER COLUMN commands, are these the correct command(s) to use and if so, how do i use them in a statement?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...