Viewing 15 posts - 4,066 through 4,080 (of 6,401 total)
didi77 (8/7/2012)
could you tell me how to do that "You will need to query sys.databases and when it returns 'nothing' then you can shrink."
Look back through the topic, I gave...
August 7, 2012 at 2:50 am
didi77 (8/7/2012)
i'm totaly lost
what was working yesterday wont today...
with this error message at the restore of the logshipping...
August 7, 2012 at 2:47 am
you have the spid from dbcc opentran, now look in sys.dm_exec_sessions for that spid
August 6, 2012 at 8:00 am
No thats just a LSN number, that would be the marker in the transaction log where the transaction started
August 6, 2012 at 7:01 am
No, when you run a shrink with Truncate Only you reset the LSN's.
If you just run DBCC SHRINKFILE you dont reset the LSN's
August 6, 2012 at 6:55 am
Dont kill the UOW, first find the host which initiated the DTC transaction and see if it is still active on that host, if it is terminate it, if not...
August 6, 2012 at 6:54 am
L' Eomot Inversé (7/26/2012)
August 6, 2012 at 6:35 am
No it wont use UDP 1434, thats the browser port.
The whole part of the browser is that it diverts the traffic to the correct ports, so you dont need to...
August 6, 2012 at 6:15 am
Now this just gets stranger every post.
Can you provide the CREATE TABLE script for the table in question?
August 6, 2012 at 4:32 am
So the output of the below returns 0 | 1
SELECT ISDATE('2012-07-29 00:05:28.819'), ISDATE('2012-07-29 00:05:28')
August 6, 2012 at 4:27 am
rahul.rahuzz (8/6/2012)
DBCC CHECKDB ('DBName', REPAIR_REBUILD) WITH ALL_ERRORMSGS
Only use REPAIR.... options as a last resort, drop and recreate of the index would be the prefered option IMHO.
Important note
Use the REPAIR options...
August 6, 2012 at 4:25 am
You have all the information you need in DBCC OPENTRAN, it gives you the SPID, so all you need to do now is query the DMV's to find out what...
August 6, 2012 at 4:15 am
didi77 (8/6/2012)
anthony.green (8/6/2012)
You will need to ensure that the reuse desc is set to nothing to shrink it down as low as possible,...
August 6, 2012 at 4:13 am
you can run the procedure
sp_cycle_agent_errorlog
At a certain point to create a new log file.
We do this once a month to both the SQL and Agent logs.
August 6, 2012 at 4:06 am
Shrink the file, but dont use truncate only.
You will need to ensure that the reuse desc is set to nothing to shrink it down as low as possible, otherwise it...
August 6, 2012 at 4:01 am
Viewing 15 posts - 4,066 through 4,080 (of 6,401 total)