Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / July 2008

Tip: Looking for answers? Try searching our database.

SQL7

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daniel - 15 Jul 2008 13:58 GMT
We have an server that runs SQL Server 7 on an NT system. One database has
processes running that are not documented. I have written triggers to report
any deletions, inserts or updates made against the database's tables. All I
can report is that an insert, update or delete has occurred, the Date and
Time it occurred, and the table the operation was against.

I have read that temporary/virtual tables are created whenever an insert,
update or delete occurs. I have not found any documentation about these
temporary/virtual tables.

I have not been able to get the logs running. Viewing the logged data should
give me an idea of what actions are taking place. The way that I enabled the
Log Security Events was by Right-Clicking on the registered server and
choosing properties, then clicking on the security tab, and enable 'All'
audit level. To view the logs, in SQL Enterprise Manager-->Management-->SQL
Server logs. I have 6 old logs that span a few hours for a given day. These
days are either late last year and very early this year.

Does anyone have information about the temporary tables or logging an SQL
Server 7? Any help would be appreciated. Thanks

Signature

ASP, SQL2005, DW8 VBScript, Visual Studio 2005, Visual Studio 2008

Linchi Shea - 15 Jul 2008 14:35 GMT
> I have read that temporary/virtual tables are created whenever an insert,
> update or delete occurs. I have not found any documentation about these
> temporary/virtual tables.

You are talking about the inserted and deleted tables. In Books Online, on
the Index tab, type inserted or deleted, you should find their documentation.
They are also listed under triggers.

Linchi

> We have an server that runs SQL Server 7 on an NT system. One database has
> processes running that are not documented. I have written triggers to report
[quoted text clipped - 16 lines]
> Does anyone have information about the temporary tables or logging an SQL
> Server 7? Any help would be appreciated. Thanks
Daniel - 15 Jul 2008 14:41 GMT
and doing so will help with SQL7?

Signature

ASP, SQL2005, DW8 VBScript, Visual Studio 2005, Visual Studio 2008

>> I have read that temporary/virtual tables are created whenever an insert,
>> update or delete occurs. I have not found any documentation about these
[quoted text clipped - 34 lines]
>> Does anyone have information about the temporary tables or logging an SQL
>> Server 7? Any help would be appreciated. Thanks
Aaron Bertrand [SQL Server MVP] - 15 Jul 2008 14:57 GMT
> and doing so will help with SQL7?

They are there so that triggers can operate.  They are not there for
performance reasons, if that's what you are implying by "help"... If you
want to know more about inserted/deleted you should read up on them in Books
Online.
Daniel - 15 Jul 2008 15:05 GMT
wasnt implying anything, i was merely asking if books online would help with
the temp and virtual tables..

the information has been found and the programmer is reviewing at this
time...

thanks for the assistance..

Signature

ASP, SQL2005, DW8 VBScript, Visual Studio 2005, Visual Studio 2008

>> and doing so will help with SQL7?
>
[quoted text clipped - 3 lines]
> Books
> Online.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.