<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sql Server 7 in Operating System - Microsoft</title>
    <link>https://community.hpe.com/t5/operating-system-microsoft/sql-server-7/m-p/2564865#M1374</link>
    <description>Yes, you have to restore both data and log files for a database using the sp_attach_db command in Query Analyser.&lt;BR /&gt;&lt;BR /&gt;If your database name is myDB, and the files are myDB_data.mdf and myDB_log.ldf&lt;BR /&gt;&lt;BR /&gt;then the command would be:&lt;BR /&gt;&lt;BR /&gt;sp_attach_db @dbname=N'myDB',@filename1=N'C:\mssql7\Data\myDB_data.mdf',@filename2=N'C:\mssql7\Data\myDB_log.ldf'&lt;BR /&gt;&lt;BR /&gt;assuming that SQL is in the C:\mssql7 directory on your server.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 13 Aug 2001 21:51:41 GMT</pubDate>
    <dc:creator>Kurt Matthies</dc:creator>
    <dc:date>2001-08-13T21:51:41Z</dc:date>
    <item>
      <title>Sql Server 7</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/sql-server-7/m-p/2564863#M1372</link>
      <description>We had a problem with a virus. Had to reinstall our sql server database. I have the old mdf file and a backup done from enterprise manager. How can I get sql server to recognize the old database file?&lt;BR /&gt;&lt;BR /&gt;the OS is NT 4.0&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ron&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Aug 2001 19:34:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/sql-server-7/m-p/2564863#M1372</guid>
      <dc:creator>Ron Bromwell</dc:creator>
      <dc:date>2001-08-13T19:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sql Server 7</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/sql-server-7/m-p/2564864#M1373</link>
      <description>Yes, you have to restore both data and log files for a database using the sp_attachdb command in Query Analyser.&lt;BR /&gt;&lt;BR /&gt;If your database name is myDB, and the files are myDB_data.mdf and myDB_log.ldf&lt;BR /&gt;&lt;BR /&gt;then the command would be:&lt;BR /&gt;&lt;BR /&gt;sp_attach_db @dbname=N'myDB',@filename1=N'C:\mssql7\Data\myDB_data.mdf',@filename2=N'C:\mssql7\Data\myDB_log.ldf'&lt;BR /&gt;&lt;BR /&gt;assuming that SQL is in the C:\mssql7 directory on your server.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Aug 2001 21:51:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/sql-server-7/m-p/2564864#M1373</guid>
      <dc:creator>Kurt Matthies</dc:creator>
      <dc:date>2001-08-13T21:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sql Server 7</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/sql-server-7/m-p/2564865#M1374</link>
      <description>Yes, you have to restore both data and log files for a database using the sp_attach_db command in Query Analyser.&lt;BR /&gt;&lt;BR /&gt;If your database name is myDB, and the files are myDB_data.mdf and myDB_log.ldf&lt;BR /&gt;&lt;BR /&gt;then the command would be:&lt;BR /&gt;&lt;BR /&gt;sp_attach_db @dbname=N'myDB',@filename1=N'C:\mssql7\Data\myDB_data.mdf',@filename2=N'C:\mssql7\Data\myDB_log.ldf'&lt;BR /&gt;&lt;BR /&gt;assuming that SQL is in the C:\mssql7 directory on your server.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Aug 2001 21:51:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/sql-server-7/m-p/2564865#M1374</guid>
      <dc:creator>Kurt Matthies</dc:creator>
      <dc:date>2001-08-13T21:51:41Z</dc:date>
    </item>
  </channel>
</rss>

