Viewing 15 posts - 106 through 120 (of 143 total)
It happened to be few times. I use the below script and it worked for me at all Times.
Execute SP_ReplicationDbOption Adventureworks2012,Publish,true,1
GO
DBCC ShrinkFile(Adventureworks2012_log,1, Truncate only)
GO
Execute SP_ReplicationDbOption Adventureworks2012,Publish,false,1
GO
October 22, 2012 at 6:16 pm
Limitations and Restrictions
If other users are connected to the database at the time that you set the database to single-user mode, their connections to the database will be closed without...
October 22, 2012 at 5:59 pm
Hi,
Yes its a Store proc which gets called remotely and the restore happens through network. Now if I have to add a another step or...
October 22, 2012 at 4:39 pm
Oh forgot to answer your first question. I was curious only about remote desktop connections
October 7, 2012 at 7:54 pm
Well Technically not more than 2 people can be active on our boxes. But I see 2 in active and atleast 5-6 disconnected.
1) What are the disadvantages if a...
October 7, 2012 at 7:53 pm
you might want to be a little careful while playing around with sys databases. If msdb is not online and you recycle the SQL services, your tempDB will also be...
October 7, 2012 at 1:58 am
Hi All, thanks for the inputs..
SELECT StartDateTime=DATEADD(day, DATEDIFF(day, 0, WQ.WorkQueueEndWorkDate), 0),WQ.WorkQueueEndWorkDate as 'EndDateTime',
DATEDIFF(Hour, DATEADD(day, DATEDIFF(day, 0.0, WQ.WorkQueueEndWorkDate), 0.0), WQ.WorkQueueEndWorkDate) as 'RunTime(Hours)'
This works now. But not quite optimal quite...
October 1, 2012 at 11:01 am
from the below Query, I need a 3rd column which would calculate Runtime(Hours) from 12:00 AM to WorkQueueEndWorkDate.
DECLARE @XHours INT = 2160
SELECT StartDateTime=DATEADD(day, DATEDIFF(day, 0, WQ.WorkQueueEndWorkDate), 0),WQ.WorkQueueEndWorkDate as 'EndDateTime'
FROM CloudBIMetaData..WorkQueue...
October 1, 2012 at 5:03 am
That was real easy. Now all I need is to get the Run time form StartDateTime to EndDateTime in hours.
October 1, 2012 at 4:58 am
Ok. Sorry for confusion. Lets start fresh here.. Below is the query that I wrote to get the 90 day processing times of one our jobs.
DECLARE @XHours INT =...
October 1, 2012 at 4:27 am
Thanks fro the assistance. I need the WorkQueueStartWorkDate to be starting at 12:00 AM with respect to the WorkQueueEndWorkDate. I'm using the below where clause but am I do not...
October 1, 2012 at 2:24 am
SELECT CAST(CONVERT(VARCHAR(10), GETDATE(), 120) + ' 12:00:00' AS DATETIME)
seems to working good but from the below result set, I need the StartDateTime to be on the same date as EndDateTime....
October 1, 2012 at 2:01 am
How can I check the NIC Connections between the server?
If I copy the backup file on to the local machine , I can restore it successfully. But that now how...
August 30, 2012 at 10:49 pm
Thanks Gila Monstor. I solved it finally.
Initial Situation: Log space used 236 GB, 99.9% space used and 18328 VLFs. We still had 50 GB left on the mount point.
Steps...
July 30, 2012 at 1:17 am
just use this to make our lives simpler.
select * from msdb.dbo.restorehistory
July 29, 2012 at 2:30 am
Viewing 15 posts - 106 through 120 (of 143 total)