Viewing 15 posts - 136 through 150 (of 320 total)
Now, Using this VBSCRIPT, Do I need to create 3 jobs each for one backup folder to delete files in them or Can I create 1 job and add ...
Regards,
[font="Verdana"]Sqlfrenzy[/font]
February 14, 2009 at 1:11 am
Nisha (2/13/2009)
Ahmad Osama (2/13/2009)
try login with windows credentialI tried both sa and windows authentication login before posting here.. both had the same problem..!
change the owner as said before....
Regards,
[font="Verdana"]Sqlfrenzy[/font]
February 13, 2009 at 2:36 am
try login with windows credential
Regards,
[font="Verdana"]Sqlfrenzy[/font]
February 13, 2009 at 12:44 am
Nisha (2/12/2009)
Property Owner is not available for Database '[MyOldDatabase]'.
This property may...
Regards,
[font="Verdana"]Sqlfrenzy[/font]
February 12, 2009 at 11:15 pm
kotlas7 (2/12/2009)
Its working after changing set oFolder = oFSO.GetFolder("C:\reports\") to set oFolder = oFSO.GetFolder(sDirectoryPath).Now able to delete the backupfile and also its logging what files it is deleting.
One more...
Regards,
[font="Verdana"]Sqlfrenzy[/font]
February 12, 2009 at 8:52 pm
kotlas7 (2/12/2009)
The 2nd script is NOT deleting the Backup files But it is creating an empty log.txt file in C:\log.txt.
Could you please make it work to delete backup files...
Regards,
[font="Verdana"]Sqlfrenzy[/font]
February 12, 2009 at 1:24 pm
kotlas7 (2/12/2009)
With this Script Iam able to delete backup file 'n' days older But its not logging what it is deleting in C:\log.txt as you mentioned in the script....
Regards,
[font="Verdana"]Sqlfrenzy[/font]
February 12, 2009 at 11:30 am
shri_sastry (2/10/2009)
Regards,
[font="Verdana"]Sqlfrenzy[/font]
February 10, 2009 at 10:20 am
kotlas7 (2/9/2009)
Thank YouWhere exactly I can insert this script in the original script I posted?
Here is da complete script...
Option Explicit
on error resume next
...
Regards,
[font="Verdana"]Sqlfrenzy[/font]
February 9, 2009 at 10:08 pm
shri_sastry (2/9/2009)
I think we will change the reindexing to once a week instead of once a day. This was on the test server where the transaction...
Regards,
[font="Verdana"]Sqlfrenzy[/font]
February 9, 2009 at 11:07 am
u can use this function as
LogMessageToFile(Filename)
Public Sub LogMessageToFile(ByVal Message As String)
Dim LogFileName As String = "C:\LogDeletedFile.txt"
...
Regards,
[font="Verdana"]Sqlfrenzy[/font]
February 9, 2009 at 2:02 am
kotlas7 (2/8/2009)
From BOL..
The databases can run on a local or remote SQL Server instance. Choosing a local instance is useful if you have sufficient system resources or want to...
Regards,
[font="Verdana"]Sqlfrenzy[/font]
February 9, 2009 at 1:40 am
ALZDBA (2/8/2009)
(I was just reflecting on that this morning, you know how that goes 😉 )
Or...
Regards,
[font="Verdana"]Sqlfrenzy[/font]
February 8, 2009 at 11:57 am
thats our management decision...for better performance
do u mind telling us that how this will better the performance.
Regards,
[font="Verdana"]Sqlfrenzy[/font]
February 7, 2009 at 3:32 pm
dbv147 (2/6/2009)
I need to move an index file to another drive and thought I'd get some advice on the best way to do this. The index is on an archive...
Regards,
[font="Verdana"]Sqlfrenzy[/font]
February 7, 2009 at 1:59 pm
Viewing 15 posts - 136 through 150 (of 320 total)