Viewing 15 posts - 5,401 through 5,415 (of 6,592 total)
Those all look like SQL Server 2000 maintenance plan jobs. Are you on SQL Server 2000 or SQL Server 2005?
The outline I provided was based on setting this up...
March 26, 2009 at 1:39 pm
There is no native way to delete OS files from SQL Server. The basic options are:
xp_cmdshell - allows you to call out to the OS and issue OS commands....
March 26, 2009 at 1:36 pm
Basic starting point - adjust as needed...
Daily Plan (All User Databases)
Integrity Check
Backup
Remove Old Backup Files
Remove Old Transaction Log Backup Files
Daily Plan (All System Databases)
Integrity Check
Backup
Remove Old Backup Files
Hourly Plan (All...
March 26, 2009 at 1:25 pm
Other option could be a powershell script - sqlcmd and send the email. It really depends upon what you are doing. For anything that needs to be accessible...
March 26, 2009 at 1:16 pm
The real question is why do you need to do this in SQL?
Much easier to create a batch file or powershell script to delete files on a regular...
March 26, 2009 at 1:13 pm
To find out whether or not the data file is growing (autogrowths) you can use the Disk Usage report. Right-click on the database, go to reports and select the...
March 26, 2009 at 12:22 pm
For a good DR strategy, it has to be either tape or some other media that can be taken offline and shipped to offsite storage. Tape is generally easier...
March 26, 2009 at 12:17 pm
This is not a problem with the databases - it is a problem with backing up across the network. If there are any issues with the network during the backup,...
March 26, 2009 at 12:08 pm
For those settings, I use a fixed size and not a percentage. What I try to do is pick a size that will allow for several weeks/months of activity....
March 26, 2009 at 9:23 am
First, you should be working in a development/test environment and testing your queries before ever getting them even close to a production system.
Next, you can wrap the process in a...
March 25, 2009 at 9:04 pm
When you attach the database to SQL Server 2005, the database engine upgrades the files. If it did not perform this upgrade - the engine would not be able...
March 25, 2009 at 8:56 pm
Lookup SHRINKFILE in Books Online, but here is how you would do it:
Use ReportServerTempDB;
Go
-- get the logical name of the file
Select *
From sys.sysfiles;
DBCC SHRINKFILE(logicalfilename, size);
Replace logicalfilename with the...
March 25, 2009 at 3:50 pm
The downside to this is that your procedure could only be run for a single server at a time. Trying to run it from multiple connections will cause problems because...
March 25, 2009 at 3:46 pm
How about using this:
ALTER DATABASE database_name
SET COMPATIBILITY_LEVEL = { 80 | 90 | 100 };
March 25, 2009 at 3:02 pm
Viewing 15 posts - 5,401 through 5,415 (of 6,592 total)