Viewing 15 posts - 136 through 150 (of 213 total)
-- delete the emails
DECLARE @delete_date datetime
SET @delete_date = dateadd(dd,-1,getdate())
print @delete_date
EXECUTE msdb.dbo.sysmail_delete_mailitems_sp @sent_before='Jun 2 2008 12:11PM'
-- this deletes the logs
EXECUTE msdb.dbo.sysmail_delete_log_sp
GO
June 3, 2008 at 11:16 am
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2974180&SiteID=1
according to an earlier post it looks like a network intrusion
June 3, 2008 at 9:50 am
My current db's are client specific
To get around the reporting across servers
you just setup a job to import the needed information into a report server
May 22, 2008 at 1:17 pm
I currently use log shipping on 30+ databases
with both low and high volume sites
The only issue i have with log shipping is when you update stats or rebuild indexes which...
March 3, 2008 at 1:05 pm
I have had that problem in the past
most of the time if i go to the subscriber and drop it there it works
2k5 lots of time will remove it from...
March 3, 2008 at 8:28 am
the identity column should go on regardless of deletes
It doesnt reset if you are using an identity column
February 26, 2008 at 1:08 pm
i usually run sp_updatestats
then i run sp_change_users_login 'auto_fix'
to fix the mismatched logins
February 26, 2008 at 1:06 pm
Log shipping has a read only option that i use for report servers
The issue is will kick the users out to restore the database
February 26, 2008 at 9:55 am
I do it like this and then call this into a temp table
for each server
--exec sp_diskspace
CREATE PROCEDURE sp_diskspace
AS
/*
Displays the free space,free space percentage
...
November 29, 2007 at 2:48 pm
I got around the dbcc issue by creating sp's on master that are then called by the linked servers
August 2, 2007 at 12:18 pm
Can't you use the new pivot option
USE AdventureWorks;GOSELECT VendorID, [164] AS Emp1, [198] AS Emp2, [223] AS Emp3, [231] AS Emp4, [233] AS Emp5FROM (SELECT PurchaseOrderID, EmployeeID, VendorIDFROM Purchasing.PurchaseOrderHeader) pPIVOT(COUNT...
June 4, 2007 at 2:41 pm
It appears the replication isnt clearing the command history
after about 2 weeks the number suddenly went from 500,000 to 10
May 22, 2007 at 1:31 pm
that works on my replication if i run it on the distributor
May 18, 2007 at 2:27 pm
it is not just the like clause causing issues
several linked server queries take 10 seconds in sql2000
and 5 minutes or more in sql2005
also several queries using temp databases take minutes...
May 14, 2007 at 12:43 pm
May 8, 2007 at 9:48 am
Viewing 15 posts - 136 through 150 (of 213 total)