<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: SQL Server SELECT INTO</title>
	<atom:link href="http://sqlserverplanet.com/tsql/sql-server-select-into/feed" rel="self" type="application/rss+xml" />
	<link>http://sqlserverplanet.com/tsql/sql-server-select-into</link>
	<description>Tips and Articles on SQL Server</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:36:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Skiilz</title>
		<link>http://sqlserverplanet.com/tsql/sql-server-select-into/comment-page-1#comment-726</link>
		<dc:creator>Skiilz</dc:creator>
		<pubDate>Mon, 25 Jul 2011 17:29:29 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=1439#comment-726</guid>
		<description>How do you enforce a strict output structure when using a &#039;select into&#039;?

I am taking the union of two or more VERY large tables so using a select into is great.. But I need the output structure to be defined. 

I know I can &#039;cast&#039; and &#039;convert&#039; the data to the desired structure but this truncates the data. 
I need to KNOW when my data is being truncated (as I would when using an &#039;INSERT&#039; statement). 

i.e. I want the program to blow up rather than ignore the data mis-match.


~Skiilz</description>
		<content:encoded><![CDATA[<p>How do you enforce a strict output structure when using a &#8216;select into&#8217;?</p>
<p>I am taking the union of two or more VERY large tables so using a select into is great.. But I need the output structure to be defined. </p>
<p>I know I can &#8216;cast&#8217; and &#8216;convert&#8217; the data to the desired structure but this truncates the data.<br />
I need to KNOW when my data is being truncated (as I would when using an &#8216;INSERT&#8217; statement). </p>
<p>i.e. I want the program to blow up rather than ignore the data mis-match.</p>
<p>~Skiilz</p>
]]></content:encoded>
	</item>
</channel>
</rss>

