Solved

SQL 2012 Standard database link

Posted on 2013-11-21
5
45 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 39666958
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
ID: 39667039
What software do you suggest?
0
 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 500 total points
ID: 39667176
0
 

Author Comment

by:fletchman
ID: 39667199
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
ID: 39667245
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sql update 2 37
IF SQL Query 12 29
Find special characters using tSQL 6 18
SQL profiler 3 12
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

756 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