Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to change location of errorlog in SQL?

Answer Posted / anwar hayat

To change the location of your log backup files, you have
to update whatever process is generating them. If it is a
Maintenance Plan then you can adjust it inside the
Maintenance Plan properties. To change the location of the
SQL Agent log, expand the SQL Server Agent Node in SSMS,
right click the ErrorLogs folder and click Configure, and
change the path there. Or you can do it with TSQL:
Code Snippet
USE [msdb]
GO
EXEC msdb.dbo.sp_set_sqlagent_properties
@errorlog_file=N'D:\Srvapps\Microsoft SQL Server\MSSQL.1
\MSSQL\LOG\SQLAGENT.OUT'

Is This Answer Correct ?    8 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to name query output columns in ms sql server?

968


explain different levels of normalization? : Sql server database administration

1006


What are xml indexes?

953


Explain about remote stored procedure?

1009


What are the steps you should follow to start sql server in single-user mode?

905


How can you manage sql azure security?

103


What is single-user mode?

941


How to include text values in sql statements?

1041


If you lose rights to your sql server instance what are the options to connect to sql server instance? : sql server security

1037


What is store procedure?

1063


What is transaction server implicit?

1012


Explain trigger and trigger types?

987


What are sub reports and how to create them?

139


What are the grouping functions?

935


What are some of the pros and cons of not dropping the sql server builtinadministrators group? : sql server security

981