Viewing 15 posts - 151 through 165 (of 200 total)
i just tryed it when try to restore sql generate an error msg, and u cant restore untill drop the snapshot first
April 24, 2008 at 4:53 am
April 24, 2008 at 4:38 am
and this is the job script:
USE [msdb]
GO
/****** Object: Job [delete old backup file] Script Date: 04/24/2008 13:19:39 ******/
BEGIN TRANSACTION
DECLARE @ReturnCode INT
SELECT @ReturnCode = 0
/****** Object: ...
April 24, 2008 at 4:20 am
1- create a batch file to delete files older than like 7 days.
2- create a job to run this batch.
try to use this one to delete files(copy the code and...
April 24, 2008 at 4:17 am
i did tried so but no it didnt worked.
am thinking off creating a snapshot for the database, this should do the job right?
April 24, 2008 at 3:47 am
there is some thing called DDL triggers but i couldnt find some thing related to restore or backup.
April 24, 2008 at 3:34 am
if u cant write the script then use the GUI..
there every thing is clear
April 24, 2008 at 3:15 am
i was wondering if i could create like a trigger to prevent a restore over the database.
April 24, 2008 at 3:12 am
its easy to say this.
but any way u r right there is no way, but i was looking for a hope.
any way thanks alot
April 19, 2008 at 8:19 pm
thanks for this am haviong the same problem and i did just what uve said, and its working fine.
how did u came with this??
April 6, 2008 at 2:14 am
thanks all.
ur solution were v.smart.
thanks a lot for the help.
March 25, 2008 at 12:46 am
thanks.
do any one have a solution if i need to run this select every 2 seconds?
i have been trying but am stuck in a dead end.
March 11, 2008 at 12:48 am
do u mean that there is no buplic on 2005??
there should be one on every database.
March 5, 2008 at 3:07 pm
in ur case the first condition is always true.
cos u r comparing A with ALL
March 5, 2008 at 2:46 pm
Viewing 15 posts - 151 through 165 (of 200 total)