Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
| Search | Today's Posts | Mark Forums Read
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 27th, 2005, 10:47 AM
Registered User
 
Join Date: Jan 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Stored Procedures Automatically Deleted

Hi, All:

Since yesterday, I noticed that some (only some) of my stored procedures in the database being deleted mysteriously. I am pretty sure this was not a result of human action. I haven't seen this before. Has anyone encountered similiar situation before and why?

Thanks for help.

Samuel

 
Old January 27th, 2005, 10:56 AM
Friend of Wrox
 
Join Date: Jan 2004
Location: , , USA.
Posts: 303
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do you have any SQL server scheduled jobs running that can do that?

 
Old January 27th, 2005, 11:12 AM
Registered User
 
Join Date: Jan 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No, actually, the dispearing stored procedures are part of a job, which failed because the job could not find the procedure.

 
Old January 27th, 2005, 11:43 AM
Friend of Wrox
 
Join Date: Jan 2004
Location: , , USA.
Posts: 303
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Not sure? How that might have happen without human interaction.
do you have a back up? if yes then restore SPs from the backup.

 
Old January 29th, 2005, 07:57 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: Lehigh Acres, FL, USA.
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

are you running the store procedure directly from the job, if so there is an option to delete the job based on its performance (fail, succeed)

Jaime E. Maccou




Similar Threads
Thread Thread Starter Forum Replies Last Post
Stored Procedures help psnow1985 SQL Server 2005 2 April 12th, 2008 01:31 AM
STORED PROCEDURES shazia1 SQL Server ASP 7 September 26th, 2007 06:11 AM
Stored Procedures stu9820 ASP.NET 1.x and 2.0 Application Design 2 January 15th, 2005 04:09 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.