Rename Column Name


/ Published in: SQL
Save to your folder(s)

http://blog.sqlauthority.com/2008/08/26/sql-server-how-to-rename-a-column-name-or-table-name/


Copy this code and paste it in your HTML
  1. sp_RENAME 'TableName.OriginalColumnName', 'ChangedColumnName', 'COLUMN'
  2. GO

URL: http://brenths-development.blogspot.com/2012/10/sql-renaming-column-name.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.