Collections:
Renaming an Existing Column with Management Studio in SQL Server
How to rename an existing column with SQL Server Management Studio in SQL Server?
✍: FYIcenter.com
If you are using SQL Server Management Studio, you can rename almost any data objects through the Object Explorer window. The tutorial example below shows you how to rename a column:
1. Run SQL Server Management Studio and connect to SQL server.
2. On the Object Explorer window, follow the object tree: Databases > FyiCenterData > Tables > dbo.tip > Columns > title.
3. Click right mouse button on "title". The context menu shows up.
4. Select "Rename", type "subject" over "title", and press Enter key. The column name will be changed.
⇒ "ALTER TABLE ... ALTER COLUMN" - Changing Column Data Type in SQL Server
⇐ "sp_rename ... 'COLUMN'" - Renaming an Existing Column in SQL Server
2016-11-15, 2839🔥, 0💬
Popular Posts:
How To Verify a User name with SQLCMD Tool in SQL Server? The quickest way to verify a user name in ...
How To Get Year, Month and Day Out of DATETIME Values in SQL Server Transact-SQL? You can use DATEPA...
What Happens to Your Transactions When ERROR 1213 Occurred in MySQL? If your transaction receives th...
How to obtain the number of rows found by the last SELECT statement using the FOUND_ROWS() function?...
How To Replace Given Values with NULL using NULLIF() in SQL Server Transact-SQL? Sometime you want t...