How can i maintain log table of user in to separate database in SQL Server 2014 Enterprise

I have a table tbl_User(ID,UserName,UserPassword,UserStatus).

when some value insert into tbl_User the log data should insert in to another database table. How can I achieve this ???


Is any new features related to trigger that can be done in new database from one???
September 4th, 2015 2:05am

You can INSERT into a different database from a trigger. Just use 3 parts naming:

loggingdb.dbo.loggingtable

Instead of dbo, different schema can be used.

Free Windows Admin Tool Kit Click here and download it now
September 4th, 2015 2:26am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics