﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by Andy Warren / Article Discussions / Article Discussions by Author  / Adding a Computed Column to a Table (2) - SQL School Video / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Fri, 24 May 2013 06:20:46 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Adding a Computed Column to a Table (2) - SQL School Video</title><link>http://www.sqlservercentral.com/Forums/Topic735920-29-1.aspx</link><description>I was wondering what the performance advantages are between a derived field in a view and computed field in a table.  Would you do one over the other because one performs better?</description><pubDate>Thu, 25 Jun 2009 12:40:20 GMT</pubDate><dc:creator>Peter Cronin</dc:creator></item><item><title>RE: Adding a Computed Column to a Table (2) - SQL School Video</title><link>http://www.sqlservercentral.com/Forums/Topic735920-29-1.aspx</link><description>Hi Andy,I'm curious to whether you'd recommend this approach for a particularly gnarly database I've inherited. It uses a concept of "partial text" for it's keys.  For example, [i]2007-000123-001[/i] might be the key in a table.  The first 11 characters is, in essence, the primary key of the parent table in a parent-child hierarchy.  The [i]-001[/i] makes it unique in the child table and also gives it a sequential order.As you can imagine, it's painful because searches invariably rely upon substrings or LIKE clauses.  I know that's killing the performance.My thought was that I could use this computed column approach to slowly migrate us out of this hell, while still maintaining legacy support.  I'd be curious to hear your thoughts.Great work!-Mike L</description><pubDate>Thu, 25 Jun 2009 08:56:58 GMT</pubDate><dc:creator>mikelawton</dc:creator></item><item><title>Adding a Computed Column to a Table (2) - SQL School Video</title><link>http://www.sqlservercentral.com/Forums/Topic735920-29-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/articles/Video/67253/"&gt;Adding a Computed Column to a Table (2) - SQL School Video&lt;/A&gt;[/B]</description><pubDate>Tue, 16 Jun 2009 12:18:14 GMT</pubDate><dc:creator>Andy Warren</dc:creator></item></channel></rss>