Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

How to rename database table column with new name?

user-image
Question ajoutée par Moaiad Hawash , Senior .Net Developer and Project System Analyst , Trainera
Date de publication: 2014/07/19
Prospero Sevilla
par Prospero Sevilla , IT Generalist , Abu Zaid & El Essawi Group

Using Management Studio, right-click the tablename, select Design from the pop-up menu, click the column you want to rename, type the desired column name then click save.

 

mojtaba amiri
par mojtaba amiri , Senior Software Developer , Kharazmi IT Corp.

You can use sp_rename like this:

 

exec sp_rename 'tableName.OlColName', 'new column name', 'COLUMN'

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?