﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by DBLACKWELL  / SQL Script to generate columns for triggers / 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>Thu, 23 May 2013 13:08:12 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: SQL Script to generate columns for triggers</title><link>http://www.sqlservercentral.com/Forums/Topic1039213-2877-1.aspx</link><description>read many time still don't understand what are you talking about. Which is your resutls ? copy paste what???</description><pubDate>Fri, 14 Jan 2011 17:01:35 GMT</pubDate><dc:creator>jiaoxg</dc:creator></item><item><title>RE: SQL Script to generate columns for triggers</title><link>http://www.sqlservercentral.com/Forums/Topic1039213-2877-1.aspx</link><description>Or, Just drag the Columns node from the object browser into the Query editor.</description><pubDate>Tue, 04 Jan 2011 17:25:00 GMT</pubDate><dc:creator>starunit</dc:creator></item><item><title>RE: SQL Script to generate columns for triggers</title><link>http://www.sqlservercentral.com/Forums/Topic1039213-2877-1.aspx</link><description>[code="sql"]SELECT CASE WHEN column_id = MIN(column_id) OVER(PARTITION BY 1)  THEN 'INSERT INTO ' + OBJECT_NAME(object_id) + ' (' ELSE '	' END + name + CASE WHEN column_id = MAX(column_id) OVER(PARTITION BY 1)  THEN ')' ELSE ', ' END FROM sys.columns WHERE object_id = OBJECT_ID('TableName') ORDER BY column_id[/code]</description><pubDate>Mon, 27 Dec 2010 15:46:09 GMT</pubDate><dc:creator>fahey.jonathan</dc:creator></item><item><title>SQL Script to generate columns for triggers</title><link>http://www.sqlservercentral.com/Forums/Topic1039213-2877-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/T-SQL/71891/"&gt;SQL Script to generate columns for triggers&lt;/A&gt;[/B]</description><pubDate>Sat, 25 Dec 2010 12:30:19 GMT</pubDate><dc:creator>DBLACKWELL</dc:creator></item></channel></rss>