Users Pricing

forum

home / developersection / forums / rename table name and column name using sql query

Rename table name and column name using sql query

Anonymous User 2692 05 Jan 2013
I have a table with the MyTable name and its columns name is
1. sr
2. Name
and i want to rename MyTable into empTable and Name column rename into empName.
MyTable structure as below
Create table MyTable
(
   sr int PRIMARY KEY IDENTITY,
   Name varchar(100)
)
can any one help me?
Thank in advance

I am a content writter !


1 Answers