This is a new question, start a new posting rather than tag onto an old one.
You have at least two choices, you can create the new table with the extra column of type (n)varchar(xxx) where x is the sum of the two columns you are concatenating, the table is called called Custom3.
Then INSERT using:
INSERT [Custom3] (cparent_alias, custom_alias, c_descript, col4, newColumn)
SELECT cparent_alias, custom_alias, c_descript, col4, cparent_alias + '.' + custom_alia;
This assumes the columns to be concatenated are a text type, if not then:
INSERT [Custom3] (cparent_alias, custom_alias, c_descript, col4, newColumn)
SELECT cparent_alias, custom_alias, c_descript, col4, CAST(cparent_alias AS nvarchar(50)) + '.' + CAST(custom_alia AS nvarchar(50));
Second option is to use a computed column where the data is computed by SQL Server on an ongoing basis. The advantage of this is that if you add a new row to the table the [newColumn] will have the correct value without you doing any extra work. Search Books On Line for COMPUTED COLUMN. Basically you declare newColumn AS cparent_alias + '.' + custom_alias [/code]
There are examples here:
http://msdn.microsoft.com/en-us/library/ms174979.aspx
In my opinion this whole request looks suspicious and I would question the wisdom in creating such a table aklthough one possibility would be to create a reporting table.
--
Joe (
Microsoft MVP - XML)