|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, August 29, 2012 12:28 AM
Points: 11,
Visits: 90
|
|
I cannot restore my old database from SQL server 2000 into SQL server 2005 which is a .dat file. I had tried with the MOVE command also.How can i restore the .dat into SQL server 2005. Please help me....
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 3:10 AM
Points: 37,642,
Visits: 29,896
|
|
.dat?
That's not a standard SQL file exention. Is it a backup? How did you ceate the .dat file?
Also, what have you tried and what have the results been?
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, August 29, 2012 12:28 AM
Points: 11,
Visits: 90
|
|
I am running a small software development company..In one of my current projects i got the database as .dat file from the client, but now am using SQL server 2005 and i want all the data from the .dat file. How can i restore it into SQL server 2005.
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Monday, March 07, 2011 3:15 AM
Points: 375,
Visits: 1,255
|
|
1st tell me where you got this file...;):P:)   and do you have windows media player or not????:D  :)
Cheers!
Sandy.
--
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 3:10 AM
Points: 37,642,
Visits: 29,896
|
|
shameersinbox (7/22/2008) How can i restore it into SQL server 2005.
Without knowing how it was created, no idea. Please ask your client where the file came from and what app they used to create it.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Wednesday, August 22, 2012 8:02 AM
Points: 242,
Visits: 502
|
|
Just out of curiosity I asked my friend google about .dat files. Check out http://www.fileinfo.net/extension/dat for a general discription. Basically, a DAT file can be anything from a standard CSV (comma delimited data-file) to a proprietary binary file. From my own experience, I have seen .dat files (and .data files, used interchangeable) be used to store sets of class objects from specific applications, to images, to full in-house low-level databases. My guess is that yours is the third.
Hope this helps you understand why everyone wants to know where this file came from! Good luck!:)
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Wednesday, May 08, 2013 7:42 AM
Points: 2,802,
Visits: 7,103
|
|
Open up the .dat file in Textpad,
It may contain SQL scripts to create the required databse objects that you can apply to your database. Check that the scripts are safe to run and run them against your dev server.
Or it may contain table data in a delimmted form that you can import in SQL server.
Either way have a look at the contents of the file to see what to do.
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Thursday, May 16, 2013 2:02 PM
Points: 143,
Visits: 998
|
|
Gail is right. It's really difficult to know what to do if the source of the file is unknown. 
Since it is a *.dat file, it's not likely to be a SQL Server Backup, but it could be since SQL does not "require" a backup extension for the file (even though it makes it easier :D)
As suggested earlier, I would try opening the file in notepad or wordpad. A dat file might also be something from Excel for all we know. In any case, it is unlikely to be a database that someone just detached and forwarded along for you to attach to your server.
You might suggest to whomever sent you the file to try taking a backup of the database, assuming one exists, and send you that file to work with the data.
Good luck!
Regards,
Irish
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Friday, July 23, 2010 9:04 AM
Points: 62,
Visits: 534
|
|
| DAT files are created on old version of sql 6.5
|
|
|
|