Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to rename the table

Answer Posted / mohan

Rename a table
This example renames the customers table to custs.

EXEC sp_rename 'customers', 'custs'

B. Rename a column
This example renames the contact title column in the
customers table to title.

EXEC sp_rename 'customers.contacttitle', 'title', 'COLUMN'

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define clusters?

1035


How to create function with parameter in sql server?

1086


How raid can influence database performance?

1009


What is Extended user-defined?

942


What is join query?

871


In one interview...interviewer ask me question pleas tell me sql server architecture.. can any body tell me the sql server architecture with digram

1985


What is data compression? : sql server database administration

955


What is the difference between dbcc indexdefrag and dbcc reindex?

966


what is the difference between Tabular and Matrix report?

170


How can we solve concurrency problems?

1035


What is a user-defined function in the sql server and what is its advantage?

1073


Which tcp/ip port does the sql server run on? How can it be changed?

1032


How do I shrink an ldf file?

967


What number sorts of privileges are accessible in sql?

1015


Why should one not prefix user stored procedures with ‘sp_’?

1021