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
Solved

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

Posted on 2013-10-24
1
309 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
1 Comment
 
LVL 39

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

861 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