Solved

xp_readerrorlog  with parameters gets stuck on 2005 but not in 2008 servers.

Posted on 2013-10-24
1
311 Views
Last Modified: 2013-11-06
can you please run this in a 2005 server. do you get results back? if not, then may it is a new feature in 2008?


DECLARE @StartTime datetime  
DECLARE @EndTime datetime  

SELECT @StartTime = create_date from sys.databases where name = 'tempdb'
SELECT @EndTime =  GETDATE()  

EXEC master.dbo.xp_readerrorlog 0, 1, 'Starting', 'up', @StartTime, @EndTime , 'asc'
0
Comment
Question by:25112
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 40

Accepted Solution

by:
lcohan earned 500 total points
ID: 39598003
It's working fine on SQL 2005 as well - what service pack you have installed and login access/rights when you run it?



This is what I get on my 2005 SP3
LogDate      ProcessInfo      Text
2013-10-22 00:58:59.300      spid7s      Starting up database 'master'.
2013-10-22 00:58:59.420      spid7s      Starting up database 'mssqlsystemresource'.
2013-10-22 00:58:59.600      spid11s      Starting up database 'model'.
2013-10-22 00:58:59.750      spid11s      Starting up database 'tempdb'.
2013-10-22 00:58:59.980      spid24s      Starting up database 'msdb'.
2013-10-22 00:58:59.980      spid25s      Starting up database 'xxxxxxxxx'.
2013-10-22 00:58:59.980      spid23s      Starting up database 'xxxxxxCRM'.
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question