Monday, 2 February 2009

Rename column in SQL Server

EXEC sp_rename 'table_name.[column_name]', 'new_column_name', 'COLUMN'

No comments:

Post a Comment