Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The .BAK files from SQL server are in Microsoft Tape Format (MTF) ref: <a href="http://www.fpns.net/willy/msbackup.htm" rel="noreferrer">http://www.fpns.net/willy/msbackup.htm</a></p> <p>The bak file will probably contain the LDF and MDF files that SQL server uses to store the database.</p> <p>You will need to use SQL server to extract these. SQL Server Express is free and will do the job.</p> <p>So, install SQL Server Express edition, and open the SQL Server Powershell. There execute <code>sqlcmd -S &lt;COMPUTERNAME&gt;\SQLExpress</code> (whilst logged in as administrator)</p> <p>then issue the following command.</p> <pre><code>restore filelistonly from disk='c:\temp\mydbName-2009-09-29-v10.bak'; GO </code></pre> <p>This will list the contents of the backup - what you need is the first fields that tell you the logical names - one will be the actual database and the other the log file.</p> <pre><code>RESTORE DATABASE mydbName FROM disk='c:\temp\mydbName-2009-09-29-v10.bak' WITH MOVE 'mydbName' TO 'c:\temp\mydbName_data.mdf', MOVE 'mydbName_log' TO 'c:\temp\mydbName_data.ldf'; GO </code></pre> <p>At this point you have extracted the database - then install <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c039a798-c57a-419e-acbc-2a332cb7f959&amp;displaylang=en" rel="noreferrer">Microsoft's "Sql Web Data Administrator".</a> together with <a href="http://www.eggheadcafe.com/articles/20040913.asp" rel="noreferrer">this export tool</a> and you will have an SQL script that contains the database.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload