<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; 2008 &#8211; Copy Database With Data &#8211; Generate T-SQL For Inserting Data From One Table to Another Table</title>
	<atom:link href="http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Thu, 09 Feb 2012 19:36:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Rejith Egodahewa</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-237824</link>
		<dc:creator><![CDATA[Rejith Egodahewa]]></dc:creator>
		<pubDate>Sun, 15 Jan 2012 04:48:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-237824</guid>
		<description><![CDATA[Dear Author,

We are using SQL Server 2005 db having more than 1500 tables. How can I copy data from a Similar data base having same no. of tabels..? 

Each table has an identity column (PKey), an incrementing No. which has no relationship to the row of data,  and it is referenced by other tables (foreign key) inorder to maintain relationships.

Please advise.....

For more details I can send a sample..

Thanks

Rejith]]></description>
		<content:encoded><![CDATA[<p>Dear Author,</p>
<p>We are using SQL Server 2005 db having more than 1500 tables. How can I copy data from a Similar data base having same no. of tabels..? </p>
<p>Each table has an identity column (PKey), an incrementing No. which has no relationship to the row of data,  and it is referenced by other tables (foreign key) inorder to maintain relationships.</p>
<p>Please advise&#8230;..</p>
<p>For more details I can send a sample..</p>
<p>Thanks</p>
<p>Rejith</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aryan Verma</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-231025</link>
		<dc:creator><![CDATA[Aryan Verma]]></dc:creator>
		<pubDate>Wed, 04 Jan 2012 05:23:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-231025</guid>
		<description><![CDATA[how can i do above given step with a single query for a database complete objects .?????????????]]></description>
		<content:encoded><![CDATA[<p>how can i do above given step with a single query for a database complete objects .?????????????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pawan Kishore</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-213447</link>
		<dc:creator><![CDATA[Pawan Kishore]]></dc:creator>
		<pubDate>Thu, 08 Dec 2011 13:13:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-213447</guid>
		<description><![CDATA[Thanks a lot. It works perfectly]]></description>
		<content:encoded><![CDATA[<p>Thanks a lot. It works perfectly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: weirdoweirdo113</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-205903</link>
		<dc:creator><![CDATA[weirdoweirdo113]]></dc:creator>
		<pubDate>Mon, 28 Nov 2011 00:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-205903</guid>
		<description><![CDATA[Just One Thing, if you are using SQL Server 2008 R2, things and steps on the wizard have changed, after selecting &quot;Generate Scripts&quot; from desired Database:

1.  In the &quot;Set Scripting Options&quot; step, press the &quot;Advanced&quot; button.
2.  Then the &quot;Advanced Scripting Options&quot; window appears, under
     &#039;General&#039; section, scroll to the last row where it says &#039;Types of
     data to script&#039;
3.  Change the Option &quot;Schema only&quot; to &quot;Schema and data&quot;
4. You&#039;re now ready to generate your database and/or tables with data. 

Cheers ;)]]></description>
		<content:encoded><![CDATA[<p>Just One Thing, if you are using SQL Server 2008 R2, things and steps on the wizard have changed, after selecting &#8220;Generate Scripts&#8221; from desired Database:</p>
<p>1.  In the &#8220;Set Scripting Options&#8221; step, press the &#8220;Advanced&#8221; button.<br />
2.  Then the &#8220;Advanced Scripting Options&#8221; window appears, under<br />
     &#8216;General&#8217; section, scroll to the last row where it says &#8216;Types of<br />
     data to script&#8217;<br />
3.  Change the Option &#8220;Schema only&#8221; to &#8220;Schema and data&#8221;<br />
4. You&#8217;re now ready to generate your database and/or tables with data. </p>
<p>Cheers ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: weirdoweirdo113</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-205889</link>
		<dc:creator><![CDATA[weirdoweirdo113]]></dc:creator>
		<pubDate>Mon, 28 Nov 2011 00:08:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-205889</guid>
		<description><![CDATA[Thank you ! I&#039;ve been looking for this for hours !! 
I&#039;m using 2008 R2 sql server, 
million thanks to you Sir..!!!!]]></description>
		<content:encoded><![CDATA[<p>Thank you ! I&#8217;ve been looking for this for hours !!<br />
I&#8217;m using 2008 R2 sql server,<br />
million thanks to you Sir..!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hussein Nour</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-186608</link>
		<dc:creator><![CDATA[Hussein Nour]]></dc:creator>
		<pubDate>Tue, 01 Nov 2011 21:39:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-186608</guid>
		<description><![CDATA[You are my superman
Thanks]]></description>
		<content:encoded><![CDATA[<p>You are my superman<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-178840</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 14 Oct 2011 13:48:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-178840</guid>
		<description><![CDATA[Are you trying to generate script only or along with data? If you choose to script with data it may throw that error for large table]]></description>
		<content:encoded><![CDATA[<p>Are you trying to generate script only or along with data? If you choose to script with data it may throw that error for large table</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ali</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-176111</link>
		<dc:creator><![CDATA[Ali]]></dc:creator>
		<pubDate>Fri, 07 Oct 2011 13:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-176111</guid>
		<description><![CDATA[Hi,

I am getting the error with a large table. I wonder if you managed to reseolve this?

Regards, Ali]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am getting the error with a large table. I wonder if you managed to reseolve this?</p>
<p>Regards, Ali</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ali</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-176107</link>
		<dc:creator><![CDATA[Ali]]></dc:creator>
		<pubDate>Fri, 07 Oct 2011 13:39:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-176107</guid>
		<description><![CDATA[Hi Pinal,
Thanks for your very useful post. 

When I am in the ‘Generate Scripts…’ wizard screen and try to create scripts for table which is very large I will receive the ‘System.OutOfMemoryException’ so thus my scripts didn’t create at the end… I was wondering if you would know how to resolve this? (i.e. I am using SQL Server 2008).

Many thanks,
Ali]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,<br />
Thanks for your very useful post. </p>
<p>When I am in the ‘Generate Scripts…’ wizard screen and try to create scripts for table which is very large I will receive the ‘System.OutOfMemoryException’ so thus my scripts didn’t create at the end… I was wondering if you would know how to resolve this? (i.e. I am using SQL Server 2008).</p>
<p>Many thanks,<br />
Ali</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: farin</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-169360</link>
		<dc:creator><![CDATA[farin]]></dc:creator>
		<pubDate>Sun, 18 Sep 2011 20:52:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-169360</guid>
		<description><![CDATA[i have a problem.
if i do this .this error Appear 

 Unable to cast object of type &#039;System.DBNull&#039; to type &#039;System.String&#039;. (Microsoft.SqlServer.Smo)

please help me!]]></description>
		<content:encoded><![CDATA[<p>i have a problem.<br />
if i do this .this error Appear </p>
<p> Unable to cast object of type &#8216;System.DBNull&#8217; to type &#8216;System.String&#8217;. (Microsoft.SqlServer.Smo)</p>
<p>please help me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amarjeet</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-163621</link>
		<dc:creator><![CDATA[Amarjeet]]></dc:creator>
		<pubDate>Tue, 30 Aug 2011 13:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-163621</guid>
		<description><![CDATA[Thanks for posting this. you described in a very clean way ..]]></description>
		<content:encoded><![CDATA[<p>Thanks for posting this. you described in a very clean way ..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sunil Kumar Kaushal</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-161342</link>
		<dc:creator><![CDATA[Sunil Kumar Kaushal]]></dc:creator>
		<pubDate>Wed, 24 Aug 2011 10:36:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-161342</guid>
		<description><![CDATA[Hello Deve &amp; jacob sebastian,

Actually i am getting error when i am using script wizard, i have already created on script and successfully used the same on another server.. But this time i am getting below errror...

Insufficient memory to continue the execution of the program. (System.Windows.Forms)

Please help]]></description>
		<content:encoded><![CDATA[<p>Hello Deve &amp; jacob sebastian,</p>
<p>Actually i am getting error when i am using script wizard, i have already created on script and successfully used the same on another server.. But this time i am getting below errror&#8230;</p>
<p>Insufficient memory to continue the execution of the program. (System.Windows.Forms)</p>
<p>Please help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Skip Hokin</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-161262</link>
		<dc:creator><![CDATA[Skip Hokin]]></dc:creator>
		<pubDate>Wed, 24 Aug 2011 06:05:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-161262</guid>
		<description><![CDATA[In SMSSEE the Script Data option is not immediately apparent.
In the General group there is an option to Script Schema and Data.
Works like a charm.

Another interesting point is that it will script specifically for SQL Server 2000, 2005 and 2008

Skip]]></description>
		<content:encoded><![CDATA[<p>In SMSSEE the Script Data option is not immediately apparent.<br />
In the General group there is an option to Script Schema and Data.<br />
Works like a charm.</p>
<p>Another interesting point is that it will script specifically for SQL Server 2000, 2005 and 2008</p>
<p>Skip</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amin</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-150575</link>
		<dc:creator><![CDATA[amin]]></dc:creator>
		<pubDate>Mon, 25 Jul 2011 14:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-150575</guid>
		<description><![CDATA[hi
I have DB( SQL 2008R2) the several file gorup and db is very big.
i want make srcipe of this db condition includ
1- All table,Sp,viw,trigger and ...
2 - jast it have one filegorup (Primery)]]></description>
		<content:encoded><![CDATA[<p>hi<br />
I have DB( SQL 2008R2) the several file gorup and db is very big.<br />
i want make srcipe of this db condition includ<br />
1- All table,Sp,viw,trigger and &#8230;<br />
2 &#8211; jast it have one filegorup (Primery)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-150565</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Mon, 25 Jul 2011 12:56:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-150565</guid>
		<description><![CDATA[What was the error you got? Do you want to copy all the objects from one server to another?]]></description>
		<content:encoded><![CDATA[<p>What was the error you got? Do you want to copy all the objects from one server to another?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-150564</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Mon, 25 Jul 2011 12:54:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-150564</guid>
		<description><![CDATA[select * int newtable from mytable where 1=2;]]></description>
		<content:encoded><![CDATA[<p>select * int newtable from mytable where 1=2;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: myrightvision</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-150559</link>
		<dc:creator><![CDATA[myrightvision]]></dc:creator>
		<pubDate>Mon, 25 Jul 2011 12:17:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-150559</guid>
		<description><![CDATA[you r right  but i  want to import  or export all database objects in mssql.


sahil singh(MLM consultant)

9911425805]]></description>
		<content:encoded><![CDATA[<p>you r right  but i  want to import  or export all database objects in mssql.</p>
<p>sahil singh(MLM consultant)</p>
<p>9911425805</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: myrightvision</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-150558</link>
		<dc:creator><![CDATA[myrightvision]]></dc:creator>
		<pubDate>Mon, 25 Jul 2011 12:16:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-150558</guid>
		<description><![CDATA[you r right  but i  want to import  or export all database objects in mssql.


sahil singh(MLM Developer)]]></description>
		<content:encoded><![CDATA[<p>you r right  but i  want to import  or export all database objects in mssql.</p>
<p>sahil singh(MLM Developer)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: myrightvision</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-150557</link>
		<dc:creator><![CDATA[myrightvision]]></dc:creator>
		<pubDate>Mon, 25 Jul 2011 12:14:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-150557</guid>
		<description><![CDATA[you r right  but i  want to import  or export all database objects in mssql.]]></description>
		<content:encoded><![CDATA[<p>you r right  but i  want to import  or export all database objects in mssql.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-149606</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Wed, 20 Jul 2011 13:53:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-149606</guid>
		<description><![CDATA[I dont think it is possible]]></description>
		<content:encoded><![CDATA[<p>I dont think it is possible</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chandru</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-149378</link>
		<dc:creator><![CDATA[chandru]]></dc:creator>
		<pubDate>Tue, 19 Jul 2011 16:11:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-149378</guid>
		<description><![CDATA[Would it be possible to have only a set of rows and not all of them generated in this insert statement ?]]></description>
		<content:encoded><![CDATA[<p>Would it be possible to have only a set of rows and not all of them generated in this insert statement ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Satyendra Kumar Singh</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-144612</link>
		<dc:creator><![CDATA[Satyendra Kumar Singh]]></dc:creator>
		<pubDate>Wed, 29 Jun 2011 08:17:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-144612</guid>
		<description><![CDATA[I have to copy one table into other table but both are on different servers . please suggest . generating scripts is throwing error .]]></description>
		<content:encoded><![CDATA[<p>I have to copy one table into other table but both are on different servers . please suggest . generating scripts is throwing error .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhijeet</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-143169</link>
		<dc:creator><![CDATA[Abhijeet]]></dc:creator>
		<pubDate>Thu, 23 Jun 2011 10:29:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-143169</guid>
		<description><![CDATA[What is the most efficient way to move records from SQL Server 2008 to Oracle?]]></description>
		<content:encoded><![CDATA[<p>What is the most efficient way to move records from SQL Server 2008 to Oracle?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tito</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-140914</link>
		<dc:creator><![CDATA[Tito]]></dc:creator>
		<pubDate>Tue, 14 Jun 2011 17:11:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-140914</guid>
		<description><![CDATA[The &quot;Cast&quot; and &quot;Convert&quot; words generated by script doesn&#039;t work in visual studio]]></description>
		<content:encoded><![CDATA[<p>The &#8220;Cast&#8221; and &#8220;Convert&#8221; words generated by script doesn&#8217;t work in visual studio</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RA</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comment-140280</link>
		<dc:creator><![CDATA[RA]]></dc:creator>
		<pubDate>Fri, 10 Jun 2011 15:01:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043#comment-140280</guid>
		<description><![CDATA[Thanks for sharing]]></description>
		<content:encoded><![CDATA[<p>Thanks for sharing</p>
]]></content:encoded>
	</item>
</channel>
</rss>

