January 7, 2020 at 12:33 pm
Dears,
I need some ideas about how to export from 2-3 sql server tables ( filled with app messages) and import into windows event viewer application/security ?
Thanks,
Hadrian
January 7, 2020 at 6:23 pm
I don't think you can import those into the event logs. You would probably need to read the rows and write those to the application log. One possibility would be using xp_logevent but it also writes to the sql error log.
Sue
January 7, 2020 at 7:17 pm
What are you ultimately trying to do?
Michael L John
If you assassinate a DBA, would you pull a trigger?
To properly post on a forum:
http://www.sqlservercentral.com/articles/61537/
January 8, 2020 at 10:19 am
there is an app who insert error messages into 2-3 tables and other application who analyse the event viewer logs . The task is to import into event viewer the messages from sql tables .
Regards,
Aureliu
January 8, 2020 at 5:01 pm
I have nothing better than Sue's suggestion about using xp_logevent.
I guess my question would be is can the developers modify their code to write to the windows log, in addition to the tables?
Michael L John
If you assassinate a DBA, would you pull a trigger?
To properly post on a forum:
http://www.sqlservercentral.com/articles/61537/
January 9, 2020 at 9:18 am
I'm unsure but there aren't developers in order to make app's changes.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply