Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
arkiboys
Master Smack Fu Yak Hacker
1433 Posts |
Posted - 2008-07-15 : 11:02:29
|
| Hi,I would like to check the path of the errorlog using the registry as follows:Declare @Path as varchar(100)Set @Path = NULLExec master..xp_regread 'HKEY_LOCAL_MACHINE', 'SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSQLServer\Parameters', 'SQLArg1', @Path OUTPUTSelect @Path as [Errorlog path]The return value is: -eC:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOGQuestion:I guess the return value in this case does indeed indicate there the errorlog is sitting in the path above.What does -e represent ?Thanks |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-07-15 : 13:25:42
|
What? Google is down? E 12°55'05.25"N 56°04'39.16" |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-07-15 : 23:21:36
|
| >> What does -e represent ?Sql server error log file location, in case you don't want to read books online. |
 |
|
|
|
|
|