Accidently Deleted Sql Server--please Help!

Nov 5, 2007

I was doing a bang up job (Ithought) of removing unused programs when I thought I would remove a file taking up a lot of space. Now I am getting error messages upon start up. I downloaded a SQLEXPR32 but this did not help matters.
How do I determine the correct version to download? Itried system restore, but this did not replace sql as I had hoped. Please help!

Dell Dimension 8300 Series
Microsoft Windows XP Professional

View 16 Replies


ADVERTISEMENT

'sa' User In Sql Server 2000 Can Be Deleted ??

May 15, 2007

hi friends.,i have some question regarding sql server 2000. pls help me... 'sa' user in sql server 2000 can be deleted or not ??if i install sql server 2000 with windows authentication; then will 'sa' user  be created or not ? while i have my sql server database on some other pc (2000 professional os) and  i installed my application on a different pc; then i have to access the pc in which my database resides; from installed pc location . why is that so ? with out accessing the pc where sql server is installed; my application is unalble to access/connect database....pls help methanks in advance//.. 

View 3 Replies View Related

Recover Deleted Database On Sql Server

Feb 12, 2008

hi
Can any body provide me any idea that how to recover database data if i have deleted that database
Bye...... 
 
 

View 2 Replies View Related

Does Anybody Know How To Recover Deleted Rows From A Sql Server Ce 2.0?

Mar 4, 2008

If you know how to recover them I will be very pleased whith you.
Thank you.

View 1 Replies View Related

Deleted Records In SQL Server To Dataset

Jul 16, 2006

Hi all..

How to reflect deleted records in Sql Server table to the Dataset?

-- using a web service --



Thank you..

View 1 Replies View Related

Please Save Me. (File Get Deleted In SQL Server, How To Restore?)

Jun 14, 2001

Hi All,

In SQL Server 2000(Sql Query Analyzer), I had opened a main program file for debugging purpose.

Somehow by mistake its entire contents get replaced/deleted.

I don't have the backup.

I would appreciate anyone who can save me by advising to restore this program.

View 4 Replies View Related

What Is The User Of Inserted And Deleted Tables In Sql Server 2005

Mar 26, 2008

can anybody tell me with an example how to use Inserted and Deleted in Sql Server 2005

View 7 Replies View Related

Transact SQL :: Recover Deleted Rows From Server Database

Sep 23, 2011

My Client Accidently Deleted Somes Rows From Database Now. Now We are Struggling For Almost 2 Days To Get Them Backup. I Even Checked LDF File From Notepad It Have Those Rows But Not Formatted. (Some Similar Text From Some Column Which Got Deleted.)And The Database has no Backup which i Go to Task -> Restore...Server is Running on Sql Server 2008.

View 7 Replies View Related

SQLServer2005MSSQLUser$ And The Other SQL Server 2005 Security Groups Deleted

Sep 19, 2007

It appears that I have a machine where the SQL Server 2005 Security groups were deleted, now I am unable to change account settings in configuration manager ( I get a WMI provider error ). Is there any way to recreate these security groups without uninstalling and reinstalling SQL Server?

View 3 Replies View Related

Remove Deleted Databases From Server Management Studio List

Mar 3, 2014

I am using SQL Server Express 2008 Management Studio & in the databases list are some databases that are non existent (have been deleted in Windows Explorer). How do I remove them as trying to delete when logging in using Windows authentication fails?

View 16 Replies View Related

SQL Server 2008 :: Count Number Of Files Deleted From Share Path?

Apr 23, 2015

SET NOCOUNT ON
Declare @daysOld int,@deletedate nvarchar(19) ,@strDir varchar(250)
declare @cmd11 nvarchar(2000)
declare @mainBackupDir varchar(2000),
@result1 nvarchar(max);

[Code] ....

View 1 Replies View Related

SQL Server 2008 :: Count Number Of Backup Files Deleted From A Default Backup Location

Mar 13, 2015

I've written a custom script to delete backup files from location. But unable to modify now to count the number of files are deleted. How to modify the script...

/* Script to delete older than N days backup from a specific directory */

USE [db_admin]
GO
IF OBJECT_ID('usp_DeleteBackup', 'P') IS NOT NULL
DROP PROC usp_DeleteBackup
GO

[Code] .....

View 2 Replies View Related

Accidentally Deleted A Table In My Local SQL Server How Can I Get Back The Table

Jan 13, 2004

Hi,

I accidentally deleted a table in my local server. How can I get back the table? I did not do it as a transaction!

Thanks in Advance

View 1 Replies View Related

URGENT - My DB Has Been Deleted

Sep 27, 2007

I just did the dumbest thing ever. I think I have lost my database. i was trying to attach a different db with the same name. but it wasnt able to attach so the i renamed my current db and attached the new db.i dont know what has happened but my old db has been deleted and i cant find it the mdf file for it.... that has been removed for the directory it was in too!!  I was using MS SQL Server Managemnent Studio  can I undo this somehow?? PLEASE HELP 

View 14 Replies View Related

To Know Who Deleted The Database

Dec 11, 2000

Is it possible to know that who has deleted the database

Thanks in advance

View 2 Replies View Related

Deleted Database

Jan 21, 2005

Our past CIO deleted a SQL Server database because he didn't know what it was or if we needed it. Guess what we do! We were able to undelete the backup files but when we try to restore from it we get the error "No a valid backup" Any ideas?

Thank you for any help. :eek:

View 2 Replies View Related

Backups Not Deleted.

Jul 25, 2006

I am running sql server 2000 on windows 2000. i have my backups set to delete after a week. they are not deleting, can anyone tell me why this is happening?? the backups filled the hard drive.

View 3 Replies View Related

Deleted Mdf File

Sep 20, 2007

I am currently trying to recover a data base that i detached. I have search the computer with *.mdf with out results...

I detached the database from msde 2000 and then installed sql express now when i go to attach the db it is missing, is there away i can recover the db?

View 8 Replies View Related

Deleted Data

Apr 18, 2007

Is there anyway to retreive deleted data (rows) of a table? Unfortunately the backups are corrupt so we can't do a restore.
Thanks

View 12 Replies View Related

Deleted Packages..??

May 18, 2007

Hi,
I accidentaly deleted a package while working on it, intention was to delete another package just above it in solution explorer but the one i was working on got deleted, is there any way to retrieve it...??

any suggestion wud be appreciated.

thanks,
ravi

Nothing much that i can do..!!

View 5 Replies View Related

Views Are Deleted

Jul 23, 2005

I am runnnig Microsoft SQL Server 2000 and have a database that getsdownloaded everymorning from an ftp site. This download contains thenew records and any changes to existing records. However I am runninginto a problem in that I am forced to recreate the views over everytimewe replace the new database with the old one. I've tried restoring thedatabase as well as replacing it and am not sure what I am missing. Iam new to SQL Server and any help would be greatly appreciated.

View 4 Replies View Related

Help - Recovering A Deleted Job

Jul 20, 2005

Any ideas how I can recover a job that has been deleted (?) from SQL7.0 ? We had one which was used on a regular basis which has nowceased to exists. I've spoken to the people responsible for the serverand was met by blank faces (as usual). They have no idea when it wasdeleted, by whom or when. To make matters worse, they don't think theycan get it off the backup set without a major bit of work to theserver. Suprisingly, none of the users noticed that things had stoppedworking.Unfortunately, I needed to do some work on this in preparation for mymonthly meeting with my boss on Monday. Whilst I'm not to blame, I'dlike to understand a little more about any options available to us forrecovery as he will undoubtedly ask when he finds out.I have an old back up on another server, so it's not the end of theworld re-creating it, but I was under the impression it was backed upproperly. Is this normal or have they missed something ?Are there any ways I can recover this ? What can I get done to thebackup to make sure this is backed up properly ?Thanks in advance.Ryan

View 1 Replies View Related

Relationships Getting Deleted (MS SQL)

Jul 20, 2005

Dear All,I got a wierd problem which I haven't been able to explain.I am working on MS SQL 2000. I don't know for what reason, therelationship between Parent/Child table is getting deleted. When Iopen up the ER diagram in MSSQL Enterprise Manager, I see therelationship line come up for just a split of a second, and disappearsafterwards. This is the second time I am seeing this thing.I realized it when I accidently deleted the rows in the Parent Table.They should not have been deleted as I had associated records in theChild Table (because of Key Constraints).Has anyone ever come across this situation? Do you have anysuggestions?Regards,TinTin

View 1 Replies View Related

Mastlog.ldf Deleted

Feb 5, 2008

hi,

I have deleted the mastlog.ldf file how can I restore it?

thanks

View 14 Replies View Related

How To See Who Deleted Rows

Feb 1, 2008



5 accounts have access to database, is it possible to see or log who deleted any records?

Thank you

View 4 Replies View Related

Records Don't Get Deleted From The Database!

Sep 17, 2007

I am using this code to delete records from a table in the database that has two fields (both are primary keys) I am not getting any error, but nothing gets deleted. Thanks for the help.
Code:protected void btnRemove_Click(object sender, EventArgs e)
{
 
Remove();Response.Redirect("RegisteredCompanies.aspx");
 
}protected void Remove()
{
//update database with filename
//Save Changes
connection.Open();using (SqlTransaction trans = connection.BeginTransaction())
{
try
{ SqlHelper.ExecuteNonQuery(trans, CommandType.StoredProcedure, "spRemoveCompany", new SqlParameter("@Userid", getGdUserID(Profile.UserName)),new SqlParameter("@BusinessID", getBusinessID());
}catch (Exception err)
{
// throw exception
trans.Rollback();
 lblStatus.Text = "An error has occurred in the delete process. Please try again.";
}
}
 Here is the stored procedure:ALTER PROCEDURE [dbo].[spRemoveCompany]
 
 
@Userid uniqueidentifier OUTPUT,
@BusinessID uniqueidentifier OUTPUT
 
 
 
ASDELETE FROM Associations2 WHERE Userid = @Userid AND BusinessID = @BusinessID
 
RETURN

View 4 Replies View Related

Reuse Deleted Primary Key Id

Dec 15, 2007

Hello,          Can I reuse the deleted primary key id? I'm using SQLServer2005. cheers,imperialx   

View 6 Replies View Related

Inserted/deleted Table.

Mar 4, 2004

Hi,

I am currently working on a MS SQL server 2000.

I would like to access the data inserted or deleted within a trigger. however the built-in tables -- inserted and deleted --- are not accessible. anyone knows why? And is there any other way to do this?

Thanks

View 1 Replies View Related

Deleted Default DB, Need Hlp Fast!

Mar 27, 2004

I have stoopidly enough deleted default Db. That causes Enterprise Manager to be unable to work with my DB's. The default DB I deleted had no other functions other then being default DB, I mean it was outdated, and I had other DB's that contained all my importent work. They are still running, and I can view DB driven site hosted at localhost, even though default DB no longer excist. I am even able to upload new content, or add new users, so this means all my other DB's are fine. I can even see SQL server icon in my bottom right corner of my desktop, and it shows server running.

Now I am in the need of adding tables and rework some of my excisting tables and stored procedures, but I am not able to do that with Enterprise Manager, due to the lack of default Database.

How do I correct this problem? I have gotten one tip of doing the following: EXEC sp_defaultdb 'User', 'DB' but I am not sure what to do with this.....tried to run it from command line, and put my username and the DB I would set to default but nothing happend.

So I need more details, step-by-step guiding will work, as I don't know a hole lot about Enterprise Manager and SQL.

Btw, this is my error in Enterpr.Managr:

A connection could not be established to MyComputerVSDOTNET2003

Reason: Cannot open default database. Login failed..

Please verify SQL server is running and check your SQL server registration prpoerties and try again

Pls tell me there is a way to fix this problem.

View 6 Replies View Related

Retrieve Deleted Table

Dec 6, 2004

hi there,

by mistake i deleted tables in the DB, i heard once that there is a way to retireve it after it has deleted, from the temp or something like that

so is there a way?

Thanks

View 1 Replies View Related

#deleted# In Access97 From SQL7

Mar 12, 1999

When I try to link tables from Access97 to SQL7, all the columns have #deleted# in them. Does any one know why this is?

Thanks

Phil

View 3 Replies View Related

Recover Deleted Records

Mar 22, 2005

I want to know what to do to recover the deleted records on a specific table. Unfortunately, the dba was unable to activate Trace feature and I am not familiar in using the transaction logs to retrieve data.

please help. :confused:

View 4 Replies View Related

Alert Deleted But Still Firing

Mar 28, 2006

I created an alert (18453) to audit successful logins. After I was done with the alert I made I edited the alert 18453 to disable event log logging and then deleted the alert. My problem is that the alert is deleted but it continues to log to the SQL Server error log and the windows application log. I have tried restarting the SQL Server Agent and even had the server rebooted over the weekend. Has anyone else had this problem? Where is this configured and how can I disable it?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved