<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
               xmlns:atom="http://www.w3.org/2005/Atom"
               xmlns:dc="http://purl.org/dc/elements/1.1/"
               xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
               xmlns:admin="http://webns.net/mvcb/"
               xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
               xmlns:content="http://purl.org/rss/1.0/modules/content/">
            <channel>
                <title>
					                		Attach file mdf SQL không cần file log (LDF) - Ebook về lập trình                                    </title>
                <link>https://forum.sthink.com.vn/forum/ebook-ve-lap-trinh/attach-file-mdf-sql-khong-can-file-log-ldf/</link>
                <description>Forum for Sthink community</description>
                <language>en-US</language>
                <lastBuildDate>Fri, 17 Jul 2026 05:46:46 +0000</lastBuildDate>
                <generator>wpForo</generator>
                <ttl>60</ttl>
                					                    <item>
                        <title>Attach file mdf SQL không cần file log (LDF)</title>
                        <link>https://forum.sthink.com.vn/forum/ebook-ve-lap-trinh/attach-file-mdf-sql-khong-can-file-log-ldf/#post-324</link>
                        <pubDate>Mon, 31 Aug 2020 10:05:25 +0000</pubDate>
                        <description><![CDATA[Step to delete LDF file of database:
1. Detach the database using script.
sp_detach_db ‘Your-Database-Name’
2. Delete the LDF file from disk.
3. Execute following script to recreate the ...]]></description>
                        <content:encoded><![CDATA[<p>Step to delete LDF file of database:</p>
<p>1. Detach the database using script.</p>
<p>sp_detach_db ‘Your-Database-Name’</p>
<p>2. Delete the LDF file from disk.</p>
<p>3. Execute following script to recreate the LDF file and attach database</p>
<p>EXEC sp_attach_single_file_db @dbname = ‘Your-DB-Name’ , @physname = ‘Existing-MDF-Full-Path’</p>]]></content:encoded>
                        <category domain="https://forum.sthink.com.vn/forum/ebook-ve-lap-trinh/">Ebook về lập trình</category>                        <dc:creator>khaibl</dc:creator>
                        <guid isPermaLink="true">https://forum.sthink.com.vn/forum/ebook-ve-lap-trinh/attach-file-mdf-sql-khong-can-file-log-ldf/#post-324</guid>
                    </item>
                                                </channel>
        </rss>
        