Viewing 9 posts - 1 through 9 (of 9 total)
Can you pls tell me any commans work with hours? I need to keep current 1 hr file and need to delete all other fils. Thanks.
October 9, 2008 at 9:42 am
We can do with Batch file with Delen command. I didn't try but someone sugges me. You can download Delen program from this link.
Let me know .
October 8, 2008 at 1:35 pm
No, I need to keep current hour files and delete all other files. It means if i run the package at 1.00PM then the package shouldn't delete the files which...
September 10, 2008 at 5:31 pm
I shared this idea with my team but b/c of the Server space , we can't do like this. So can you share your code to delete files from...
September 10, 2008 at 5:06 pm
Thanks for sharing your code. I wrote little differently to get result for my reqirement.
-------------------------------------------------------------
CREATE PROCEDURE [dbo].[spGetJobDetails] (@Job_Name as Varchar(50))
AS
SET NOCOUNT ON
SELECT TOP 2 sj.name,CASE WHEN run_status=1 THEN 'SUCCESS'...
September 10, 2008 at 4:26 pm
It is working but it is giving error message for successed job also.
September 9, 2008 at 8:59 am
No, it doesn't give error description, if job failed. I tried sp_help_history procedure. But it is giving Job details but not error description. I need to see error description also...
September 6, 2008 at 11:33 pm
Thanks for your idea. It save my time. Another method is just run the batch file in Job with cmdexc method.
September 6, 2008 at 9:12 pm
Thanks a lot. It helps lot for me.
August 14, 2008 at 9:50 am
Viewing 9 posts - 1 through 9 (of 9 total)