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

Explain what is the purpose of sql profiler in sql server?

1018


How to create function without parameter in sql server?

1003


What is table join?

1071


How to run sql server 2005 books online on your local system?

927


What are the advantages of paper records?

914


Why we need to use secondry database file? though, we can do same work using primary database file also.

6774


Show Practically Sql Server Views are updatable?

1064


How to replace given values with null using nullif()?

933


What are the advantages of policy management?

954


What are the various editions of sql server 2017 that are available in the market?

852


Recommend an approach to ensuring that all changes in the remote databases synchronize with the SQL Azure database?

128


What are .mdf files?

893


What is isolation levels?

973


How many columns can we include on clustered index ?

945


What are indexes in sql?

1191