[英]Need to View/Convert .bak file contents
I've got a .bak file from an HR software we used to use and have been asked to review the contents. 我从以前使用的HR软件中获得了一个.bak文件,并被要求检查其内容。 I've never done this before, so I've pieced things together from research.
我以前从未做过此事,因此我将研究工作拼凑而成。 So far, I've installed SQL Server 2008 R2 w/ Management Studio and managed to Restore the database from the .bak file.
到目前为止,我已经安装了带有Management Studio的SQL Server 2008 R2,并设法从.bak文件还原数据库。
I've got it in there, but don't know what I'm looking at, how to get the data in a viewable format, export it as .sql, .csv or anything. 我已经在那儿了,但不知道我在看什么,如何以可见格式获取数据,将其导出为.sql,.csv或其他任何内容。 Not really sure what the next step is to view this in an understandable format.
不太确定下一步应该以一种可理解的格式查看它。 Need a push in the right direction.
需要朝正确的方向推动。
With your knowledge with databases, I suggest you follow the following steps to extract a table to Excel 了解数据库后,建议您按照以下步骤将表提取到Excel
CTLR + N
with the database name selected. CTLR + N
,选择数据库名称。 SELECT * FROM TableName
. SELECT * FROM TableName
。 You need to replace TableName
with the Name of the table you want to explore. TableName
替换为要浏览的表的名称。 F5
. F5
。 This will display data for you in a grid at the bottom. This is the way to do it table by table. 这是逐表进行的方法。 But you are highly encouraged to consult with a database developer or colleague with database knowledge if you want to learn how to manipulate data inside management studio.
但是,如果您想学习如何在Management Studio中操作数据,强烈建议您咨询数据库开发人员或具有数据库知识的同事。 This Link might be helpful for you http://www.w3schools.com/sql/sql_intro.asp
该链接可能对您有所帮助http://www.w3schools.com/sql/sql_intro.asp
Hope this will help. 希望这会有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.