Solved

SQL 2012 Standard database link

Posted on 2013-11-21
5
30 Views
Last Modified: 2015-06-17
I have a client that their software company recently upgraded them to SQL 2012 database.  One user accidentally deleted one database.  The software company reattached the database, but no data shows up.  The data is in a separate folder, and I can see the files.  There is no backup to restore from.  Is it possible to relink the data back to the database?
0
Comment
Question by:fletchman
  • 3
  • 2
5 Comments
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
Comment Utility
if some one deleted the database, then the older files will also get deleted. You need to use some software to get the original database files in order to reattach them to the database.
0
 

Author Comment

by:fletchman
Comment Utility
What software do you suggest?
0
 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 500 total points
Comment Utility
0
 

Author Comment

by:fletchman
Comment Utility
They deleted the database from inside of Studio Management.  Is this the same as deleting files from the File Explorer?  The database was still there.  The software support was able to reattach it, but it does not show any data.  The data is still where it was.  Is there a way to "relink" the data to the database?  I'm sorry if I wasn't clear on the initial post.
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
Comment Utility
When you delete it from management studio, sql will physically delete the original files; the one you saw could be a different copy of your database files, that's why it is empty, check the date when the file was created / last updated ?
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now