Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.
ALTER PROCEDURE [dbo].[spDeleteNHID] -- Add the parameters for the stored procedure here @NHID varChar(50) AS BEGIN -- SET NOCOUNT ON added to prevent extra result sets from -- interfering with SELECT statements. SET NOCOUNT ON; DELETE FROM tblFacilities WHERE tblFacilities.nhid = '@NHID'; DELETE FROM tblFacilityInfo WHERE tblFacilityInfo.nhid = '@NHID'; DELETE FROM tblDataLogging WHERE tblDataLogging.nhid = '@NHID'; DELETE FROM tblMaterials WHERE tblMaterials.nhid = '@NHID'; DELETE FROM tblMileage WHERE tblMileage.nhid = '@NHID'; DELETE FROM tblToComplete WHERE tblToComplete.nhid = '@NHID'; END
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
16 Experts available now in Live!