Viewing 14 posts - 1 through 14 (of 14 total)
sturner (11/3/2010)
November 4, 2010 at 4:19 am
Yea, i've been trying to play around and watch performance. I've spoken with our dev team and they say a simple c# program may be best.
FYI its for taking...
November 3, 2010 at 8:46 am
I asked a similar question a while back
http://www.sqlservercentral.com/Forums/Topic963333-391-1.aspx#bm964094
EXEC sp_MSforeachdb 'DECLARE @ln varchar(100) SET @ln=(SELECT name FROM [?].dbo.sysfiles WHERE fileid=2) USE [?] DBCC SHRINKFILE (@ln, 0)'
November 2, 2010 at 6:04 am
Deleted and recreated the Virtual Directory then re-ran the wizard and it seems to allow the execution of replisapi.dll?diag and not giving the 500 Error.
October 5, 2010 at 7:21 am
Excellent thanks thats just what I was after! 🙂
September 28, 2010 at 8:19 am
ashish.kuriyal (9/8/2010)
SELECT userid,MAX(taskid) AS Maxtask
FROM tablename
...
September 8, 2010 at 9:08 am
The SQL version is 2008 but from talking with my developers seemingly these are legacy DTS jobs that were migrated over when we upgraded from 2005->2008 and most likely from...
August 17, 2010 at 1:54 am
I've just checked the ERRORLOG and around the time of the job running (and failing) there is nothing other that successful logons (which we need to log for auditing purposes)...
August 16, 2010 at 9:56 am
Finally getting somewhere now -
EXEC sp_MSforeachdb 'DECLARE @ln varchar(100) SET @ln=(SELECT name FROM [?].dbo.sysfiles WHERE fileid=2) USE [?] DBCC SHRINKFILE (@ln, 0)'
August 5, 2010 at 3:38 am
Hmm strange, when I script out the GUI the command includes the TRUNCATEONLY
Just looking at the variable side of things now cheers 🙂
DECLARE @command1 varchar(100)
DECLARE @command2 varchar(100)
exec sp_MSforeachdb set...
August 4, 2010 at 9:54 am
Ok cheers (ill keep that as a last resort)
If I was to try and get the MSforeachdb working am I on the right track? The reason I ask...
August 4, 2010 at 7:40 am
I know this shouldnt be done on a regular basis. Basically we need Full recovery model but some basic admin wasnt being performed and 100s of Logs files are...
August 4, 2010 at 6:17 am
Having been working on this for a while now I have found that when our developers need to modify a DB to add a table or SP to the Merge...
April 22, 2010 at 2:03 am
Cheers, I got round this by setting the Auto value to Manual and then setting the pub range, ident range and threshold.
Heres the code, hopefully it will help someone else.
USE...
April 20, 2010 at 3:07 am
Viewing 14 posts - 1 through 14 (of 14 total)