Something like this:
ALTER TABLE dbo.MyTable
DROP COLUMN OldComputedColumn
ALTER TABLE dbo.MyTable
ADD OldComputedColumn AS OtherColumn + 10
More Related Contents:
- Sql Server deterministic user-defined function
- formula for computed column based on different table’s column
- Is it possible to write single query on two table which are not connected to each other?
- Is the NOLOCK (Sql Server hint) bad practice?
- How to create composite primary key in SQL Server 2008
- OPTION (RECOMPILE) is Always Faster; Why?
- sql runs fast in ssms slow in asp.net
- Sub queries in check constraint
- Rename column SQL Server 2008
- How do I use structural annotations to set SQL type to Date in model first approach
- Compare DATETIME and DATE ignoring time portion
- Split function in SQL Server 2008
- Remove numbers from string sql server
- How to find third or nᵗʰ maximum salary from salary table?
- SQL “between” not inclusive
- Selecting first row per group
- Using PIVOT in SQL Server 2008
- sql group by only rows which are in sequence
- Function in SQL Server 2008 similar to GREATEST in mysql?
- SQL server join tables and pivot
- How to retrieve field names from temporary table (SQL Server 2008)
- Why can’t I use an alias for an aggregate in a having clause?
- Using a database table as a queue
- When using GETDATE() in many places, is it better to use a variable?
- SQL . The SP or function should calculate the next date for friday
- Backup a single table with its data from a database in sql server 2008
- COALESCE Function in TSQL
- SQL Server equivalent to MySQL’s EXPLAIN
- Try_Convert for SQL Server 2008 R2
- SQL: Using DATEADD with bigints