ophirg
asked on
SQL newbie question
Hi.
Is it possible to capture actions that are made on tables in SQL Server 2000, using VB events?
In other words, does SQL Server 2000 (using its reference objects) raise events such as TableUpdated etc. ?
Is it possible to capture actions that are made on tables in SQL Server 2000, using VB events?
In other words, does SQL Server 2000 (using its reference objects) raise events such as TableUpdated etc. ?
The only thing I am aware of is the Notification Services. See http://www.microsoft.com/sql/NS/overview.asp
what you can do is checkout the logs in the SQL server but then you would have to distinguish between a log of action performed by the server and a log of action performed by the User.
K'Regards
Jayesh
K'Regards
Jayesh
ophirg:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
Experts: Post your closing recommendations! Who deserves points here?
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
Experts: Post your closing recommendations! Who deserves points here?
ophirg, an EE Moderator will handle this for you.
Moderator, since no Experts responded, my recommended disposition is:
Save as PAQ -- No Refund.
DanRollins -- EE database cleanup volunteer
Moderator, since no Experts responded, my recommended disposition is:
Save as PAQ -- No Refund.
DanRollins -- EE database cleanup volunteer
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
However, there is no direct way in SQL Server, where in a user makes some changes to the table and SQL Server through some objects notifies VB for the same. But there is one possibility. Create a DLL in VB and write code in an event in that DLL. When a user makes some changes in a table fire the event of that DLL. The code in the event will contain some data that tells your application in VB that a change has been made.
Its just an idea to achieve what you want. How to achieve is where you will have to work at.