<?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; Restore or Attach Database Without .NDF or .MDF is Not Possible</title>
	<atom:link href="http://blog.sqlauthority.com/2009/04/10/sql-server-restore-or-attach-database-without-ndf-or-mdf-is-not-possible/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2009/04/10/sql-server-restore-or-attach-database-without-ndf-or-mdf-is-not-possible/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Mon, 13 Feb 2012 15:11:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: S. S</title>
		<link>http://blog.sqlauthority.com/2009/04/10/sql-server-restore-or-attach-database-without-ndf-or-mdf-is-not-possible/#comment-202290</link>
		<dc:creator><![CDATA[S. S]]></dc:creator>
		<pubDate>Tue, 22 Nov 2011 16:08:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4271#comment-202290</guid>
		<description><![CDATA[Hi Pinal.
I have a DB with an mdf, ndf and ldf file. Can  I attach the DB with only the mdf and ldf file in the create for attach sql.  I currently do that and it works? Is it not essential that the ndf file be part of the create-attach command?

Thanks 
S. S.]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal.<br />
I have a DB with an mdf, ndf and ldf file. Can  I attach the DB with only the mdf and ldf file in the create for attach sql.  I currently do that and it works? Is it not essential that the ndf file be part of the create-attach command?</p>
<p>Thanks<br />
S. S.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eaktadiur</title>
		<link>http://blog.sqlauthority.com/2009/04/10/sql-server-restore-or-attach-database-without-ndf-or-mdf-is-not-possible/#comment-131409</link>
		<dc:creator><![CDATA[Eaktadiur]]></dc:creator>
		<pubDate>Wed, 27 Apr 2011 06:51:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4271#comment-131409</guid>
		<description><![CDATA[i think it is possible 
just need to write following sample statement

CREATE DATABASE MyDB2
ON PRIMARY
(FILENAME =       &#039;c:\data\MyDB2_Prm.mdf&#039;),
(FILENAME =       &#039;c:\data\MyDB2.ldf&#039;)
for attach
go]]></description>
		<content:encoded><![CDATA[<p>i think it is possible<br />
just need to write following sample statement</p>
<p>CREATE DATABASE MyDB2<br />
ON PRIMARY<br />
(FILENAME =       &#8216;c:\data\MyDB2_Prm.mdf&#8217;),<br />
(FILENAME =       &#8216;c:\data\MyDB2.ldf&#8217;)<br />
for attach<br />
go</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Narendra</title>
		<link>http://blog.sqlauthority.com/2009/04/10/sql-server-restore-or-attach-database-without-ndf-or-mdf-is-not-possible/#comment-88888</link>
		<dc:creator><![CDATA[Narendra]]></dc:creator>
		<pubDate>Wed, 22 Sep 2010 03:16:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4271#comment-88888</guid>
		<description><![CDATA[HI Pinal ,

I have a problem with attach DB .
When I am going attach the DB , it’s failing .
The Error Message is :

Msg 1813, Level 16, State 2, Line 2
Could not open new database ‘eCompassHK_Data_1′. CREATE DATABASE is aborted.
Msg 824, Level 24, State 2, Line 2
SQL Server detected a logical consistency-based I/O error: incorrect pageid
(expected 1:6148838; actual 0:0). It occurred during a read of page (1:6148838) in database ID 8 at
offset 0x00000bba5cc000 in file ‘G:\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\eCompassHK_Data.MDF’.
Additional messages in the SQL Server error log or system event log may provide more detail. This is a severe error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check (DBCC CHECKDB). This error can be caused by many factors; for more information, see SQL Server Books Online.

Msg 3313, Level 21, State 2, Line 2
During redoing of a logged operation in database ‘eCompassHK_Data_1′,
an error occurred at log record ID (2857078:303:410). Typically, the specific failure is previously
logged as an error in the Windows Event Log service. Restore the database from a full backup, or repair the database.

Please Help me on this …….
Thanks
Narendra]]></description>
		<content:encoded><![CDATA[<p>HI Pinal ,</p>
<p>I have a problem with attach DB .<br />
When I am going attach the DB , it’s failing .<br />
The Error Message is :</p>
<p>Msg 1813, Level 16, State 2, Line 2<br />
Could not open new database ‘eCompassHK_Data_1′. CREATE DATABASE is aborted.<br />
Msg 824, Level 24, State 2, Line 2<br />
SQL Server detected a logical consistency-based I/O error: incorrect pageid<br />
(expected 1:6148838; actual 0:0). It occurred during a read of page (1:6148838) in database ID 8 at<br />
offset 0x00000bba5cc000 in file ‘G:\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\eCompassHK_Data.MDF’.<br />
Additional messages in the SQL Server error log or system event log may provide more detail. This is a severe error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check (DBCC CHECKDB). This error can be caused by many factors; for more information, see SQL Server Books Online.</p>
<p>Msg 3313, Level 21, State 2, Line 2<br />
During redoing of a logged operation in database ‘eCompassHK_Data_1′,<br />
an error occurred at log record ID (2857078:303:410). Typically, the specific failure is previously<br />
logged as an error in the Windows Event Log service. Restore the database from a full backup, or repair the database.</p>
<p>Please Help me on this …….<br />
Thanks<br />
Narendra</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajiv Singh</title>
		<link>http://blog.sqlauthority.com/2009/04/10/sql-server-restore-or-attach-database-without-ndf-or-mdf-is-not-possible/#comment-55346</link>
		<dc:creator><![CDATA[Rajiv Singh]]></dc:creator>
		<pubDate>Fri, 28 Aug 2009 12:38:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4271#comment-55346</guid>
		<description><![CDATA[Hi ALL,

Pinal stated in brief but he is correct. For freshers just simplify the things, Suppose if database contains 3 .mdf and 2 .ndf and 1 .ldf files. And play puzzle like this. Stop the SQL Server service and delete physically one of .mdf file. After that database comes in restoring position. Only the method you can brigs the database in active position when you add missing file. You must follow the rules of database recovery as by PINAL&#039;s article. It require the previous or last backup which contains all .mdf, .ndf &amp; .ldf files information/data. Also you can play more puzzles with Pinal.

Regards,
Rajiv Singh]]></description>
		<content:encoded><![CDATA[<p>Hi ALL,</p>
<p>Pinal stated in brief but he is correct. For freshers just simplify the things, Suppose if database contains 3 .mdf and 2 .ndf and 1 .ldf files. And play puzzle like this. Stop the SQL Server service and delete physically one of .mdf file. After that database comes in restoring position. Only the method you can brigs the database in active position when you add missing file. You must follow the rules of database recovery as by PINAL&#8217;s article. It require the previous or last backup which contains all .mdf, .ndf &amp; .ldf files information/data. Also you can play more puzzles with Pinal.</p>
<p>Regards,<br />
Rajiv Singh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2009/04/10/sql-server-restore-or-attach-database-without-ndf-or-mdf-is-not-possible/#comment-54604</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Sat, 08 Aug 2009 04:08:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4271#comment-54604</guid>
		<description><![CDATA[The reason for that is because .MDF contains all the data which are required.]]></description>
		<content:encoded><![CDATA[<p>The reason for that is because .MDF contains all the data which are required.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://blog.sqlauthority.com/2009/04/10/sql-server-restore-or-attach-database-without-ndf-or-mdf-is-not-possible/#comment-54603</link>
		<dc:creator><![CDATA[anonymous]]></dc:creator>
		<pubDate>Sat, 08 Aug 2009 03:57:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4271#comment-54603</guid>
		<description><![CDATA[Its good to know the answer, but that would be great if you explain your readers the reason behind &#039;No&#039;.]]></description>
		<content:encoded><![CDATA[<p>Its good to know the answer, but that would be great if you explain your readers the reason behind &#8216;No&#8217;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

