sql - How to find which application changes a table -


is possible find application made changes database (e.g. update record)?
i'm using sql server 2012.

you might have ask developers start including application name in connection string in web.config files of application.

data source=myserver;initial catalog=mydb;user id=myusername; password=mypassword; application name=myapplicationname; 

then you'll able use app_name function track application connecting session or can used in store procs.

also, can use application name filter queries in sql profiler, otherwise in absence of application name, application gets generic app name, .net sqlclient data provider


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -