Click here to Skip to main content
15,900,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have front end application asp.net (First Aoplication)

in back end sql server i have modify the record.

how to check which user has modify the record

for modify the record i used sql server. but for connecting with front end i used different application (second application)

how to find out which user has modified the record in sql server

What I have tried:

 I have front end application asp.net (First Aoplication)

 in back end sql server i have modify the record.

how to check which user has modify the record

for modify the record i used sql server. but for connecting with front end i used different application (second application)

how to find out which user has modified the record in  sql server
Posted
Updated 28-Mar-18 9:13am
Comments
ZurdoDev 28-Mar-18 8:52am    
You can use the built in function to get the connected user but if you have a common connection string that uses a sql account then it will always show that account. In which case, you have to write your own code.

1 solution

Maybe SQL Server change tracking is an option, see answers here: SQL Server 2008 Change Data Capture, who made the change? - Stack Overflow[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900