Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Pradeep ShetRank #595 · 4K reputationPosted Feb 12, 2015, 3:17 AM EST
Do you mean you want to restore the database? Then while restoring select all files from dropdown instead of bak file.
VulpesRank #55 · 29.2K reputationPosted Feb 12, 2015, 3:34 AM EST
Off hand I can't think of any database product which uses a standard extension of .dat and it might just be a simple text or CSV file.
I'd try opening the file in notepad. If it's readable text, then you should be able to load it with a line such as:
string[] lines = System.IO.File.ReadAllLines("somefile.dat");
However, if it's just gibberish then it will be a binary file written in a proprietary format and you'll need to try and find out which database product created it to have any hope of reading it.
Malvik BhavsarRank #617 · 3.9K reputationPosted Feb 12, 2015, 4:42 AM EST
Any idea about this?
Pradeep ShetRank #595 · 4K reputationPosted Feb 12, 2015, 4:46 AM EST
Malvik BhavsarRank #617 · 3.9K reputationPosted Feb 12, 2015, 4:51 AM EST
Pradeep ShetRank #595 · 4K reputationPosted Feb 12, 2015, 11:22 PM EST
Malvik BhavsarRank #617 · 3.9K reputationPosted Feb 13, 2015, 5:08 AM EST
Thank you Pradeep
Malvik BhavsarRank #617 · 3.9K reputationPosted Feb 16, 2015, 9:04 PM EST
It's not working. and i don't know what the databse it is.
Saumitr Sharma13 reputationPosted Feb 17, 2015, 1:20 AM EST
Malvik BhavsarRank #617 · 3.9K reputationPosted Feb 17, 2015, 5:26 AM EST
VulpesRank #55 · 29.2K reputationPosted Feb 17, 2015, 5:35 AM EST
Why do you need to read the file outside the PMS in any case?
Malvik BhavsarRank #617 · 3.9K reputationPosted Feb 17, 2015, 6:10 PM EST
VulpesRank #55 · 29.2K reputationPosted Feb 18, 2015, 5:12 AM EST
Even then you might have a struggle reading it unless you know (from documentation or otherwise) exactly what each field represents.
Malvik BhavsarRank #617 · 3.9K reputationPosted Feb 18, 2015, 5:19 AM EST