Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Open SQL backup

Author  Topic 

eperette
Starting Member

3 Posts

Posted - 2008-10-13 : 13:10:25
Hello,
I am completly new to SQL, I have done my research and looked over some tutorials of SQL and have been able to understand few basics of how SQL works. Yet, I have been unable to find any guidelines on how to open and view an SQL backup data files....it was sent to me as BAK FILE named AutoAuction.bak. Please help.

Thanks in advance
Evelyn

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-10-13 : 13:16:01
http://www.mssqltips.com/tip.asp?tip=1584
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-10-13 : 13:43:58
You will have to restore the .bak file . See Restore command in Books online.
Go to Top of Page

eperette
Starting Member

3 Posts

Posted - 2008-10-13 : 16:29:23
Hi,

The backup file was originally placed on my FTP and it is an SQL Data (DLL) file.

Please advice,
Thank you
Eve
Go to Top of Page

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2008-10-13 : 16:36:23
I've never heard about backup file (DLL).
Dynamic Link Library (DLL) is no backup file.

Webfred

Planning replaces chance by mistake
Go to Top of Page

eperette
Starting Member

3 Posts

Posted - 2008-10-13 : 16:39:58
Hi,

This tells me I must do more reserach of my vocabulary understanding. Thanks..
The .bak file was placed in my FTP, so the question is how can I open the file using SQL Server Express (or SQL Management Server Express)

Thanks in advance,
eve
Go to Top of Page

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2008-10-13 : 17:02:22
I'm not sure about Express Version (2005 or 2008?)
But sql-statements to restore the database from that bak file will look like this:

use master
go
RESTORE DATABASE herecomesyourdatabasename
FROM DISK = 'herecomesyourpathandfilenametothebakfile'

for more information read books online like already postet by sodeep.

Webfred

Planning replaces chance by mistake
Go to Top of Page
   

- Advertisement -