Redian新闻
>
Where to find log files in SQL server?
avatar
Where to find log files in SQL server?# Database - 数据库
k*r
1
For example, I delete a table then I want to look up the log files for the
deletion. Thanks.
avatar
t*s
2
is MS SQL Server?
if yes, then \SQLHome\MSSQL\LOG\ERRORLOG

【在 k******r 的大作中提到】
: For example, I delete a table then I want to look up the log files for the
: deletion. Thanks.

avatar
k*r
3
Yes, it is MS SQL server. But I couldn't find directory ERRORLOG(I assume it
is a directory) under LOG. I guess maybe I need configure the SQL server
somehow? Thanks for your information!

【在 t*****s 的大作中提到】
: is MS SQL Server?
: if yes, then \SQLHome\MSSQL\LOG\ERRORLOG

avatar
s*n
4
All I know is that SQL Server's log file is for data recovery purpose.
What do u mean when u say "look up"?

【在 k******r 的大作中提到】
: For example, I delete a table then I want to look up the log files for the
: deletion. Thanks.

avatar
t*s
5
sorry, ERRORLOG is a file without extension

【在 k******r 的大作中提到】
: Yes, it is MS SQL server. But I couldn't find directory ERRORLOG(I assume it
: is a directory) under LOG. I guess maybe I need configure the SQL server
: somehow? Thanks for your information!

avatar
k*r
6
Thanks for your reply. Actually, I am fixing a bug with database for the
client. I have been working on the bug for three days but I couldn't find any
problem with the program. Yesterday, all of sudden, I realized that most
likely there was nothing wrong with my program and instead probably the
customers modified the database manually. So I wanted to look up log files to
monitor any changes made by customers. I have never done this before so I was
asking how to do that.

【在 s******n 的大作中提到】
: All I know is that SQL Server's log file is for data recovery purpose.
: What do u mean when u say "look up"?

avatar
k*r
7
Now I know where those log files are located but I don't know how to open
them. Any idea? Thanks.

any
to
was
the

【在 k******r 的大作中提到】
: Thanks for your reply. Actually, I am fixing a bug with database for the
: client. I have been working on the bug for three days but I couldn't find any
: problem with the program. Yesterday, all of sudden, I realized that most
: likely there was nothing wrong with my program and instead probably the
: customers modified the database manually. So I wanted to look up log files to
: monitor any changes made by customers. I have never done this before so I was
: asking how to do that.

avatar
s*n
8
Basically u r intested in "audit". The log file won't be easy to look into,
but there are tools out there that can help u do that. One of them is as
follows:
http://www.sql-server-performance.com/lockwoodtech_log_navigator_spotlight.asp
Btw, an earlier post told u about the errorlog, which is not the log u r
looking for. The right one is in ....\mssql\data\[database name]_log.ldf

【在 k******r 的大作中提到】
: Now I know where those log files are located but I don't know how to open
: them. Any idea? Thanks.
:
: any
: to
: was
: the

avatar
k*r
9
Super! Thank you very much! Can this tool also work with Sybase transaction
log?

http://www.sql-server-performance.com/lockwoodtech_log_navigator_spotlight.asp
find
files
I

【在 s******n 的大作中提到】
: Basically u r intested in "audit". The log file won't be easy to look into,
: but there are tools out there that can help u do that. One of them is as
: follows:
: http://www.sql-server-performance.com/lockwoodtech_log_navigator_spotlight.asp
: Btw, an earlier post told u about the errorlog, which is not the log u r
: looking for. The right one is in ....\mssql\data\[database name]_log.ldf

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。