Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 31st, 2005, 01:59 AM
Authorized User
 
Join Date: Dec 2004
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default Transfer SQL Database FROM One SQL PC To Another

Hi
  Please help

      I was having an sql database on my sql 2000 server machine.The hard disk gets full damaged.Luckily I have latest Backup file,Both .mdf and .log file and also sql script file.
     i installed sql 2000 on another machine now i want to transfer this sql database in this new sql 200 machine


 
Old January 31st, 2005, 09:24 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

Place the mdf and ldf in your data folder and go to enterprise manager and attach database.

Jaime E. Maccou
 
Old February 2nd, 2005, 01:30 AM
Authorized User
 
Join Date: Dec 2004
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Needs Your Help Again
It does not work when i attach the .mdf file it shows the following error.
error 5172 C:\Program Files\Microsoft SQL Server\MSSQL\Data\mydatabase is not a valid database file header.The pageaudit property is incorrect

Any way thankx

 
Old February 2nd, 2005, 01:33 AM
Authorized User
 
Join Date: Dec 2004
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Needs Your Help Again sorry some mistake
It does not work when i attach the .mdf file it shows the following error.
error 5172 C:\Program Files\Microsoft SQL Server\MSSQL\Data\mydatabase_log.ldf is not a valid database file header.The pageaudit property is incorrect

Any way thankx






Similar Threads
Thread Thread Starter Forum Replies Last Post
transfer database from Paradox to Sql server 2000 oveisi SQL Language 1 November 26th, 2007 05:40 AM
SQL Server Connection for POCKET PC in VS2005 ai4u General .NET 0 November 6th, 2007 07:27 AM
SQL Server and a PC twinsfan08 SQL Server 2000 1 August 17th, 2005 12:57 PM
Pocket PC development with MS SQL jamesosw VB How-To 0 April 18th, 2005 10:49 AM
Web Based SQL and PC App reyboy SQL Server 2000 6 May 7th, 2004 08:47 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.