Database trigger and there is login fail on the sql errorlog

sakuraime 2,326 Reputation points
2020-08-18T04:18:24.463+00:00

I have the following trigger database trigger 18167-trigger.jpg

and then there is a error in the errorlog
18221-trigger-login.jpg

why is that ?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,993 questions
{count} votes

8 answers

Sort by: Most helpful
  1. sakuraime 2,326 Reputation points
    2020-08-22T09:49:08.36+00:00

    yes. I can demo with you if you want.


  2. sakuraime 2,326 Reputation points
    2020-08-23T02:26:49.307+00:00

    let me record a video and upload. thanks


  3. m 4,271 Reputation points
    2020-08-24T01:37:34.48+00:00

    Hi @michaelchau,

    but there is no way I need to add this computer account to my sql server. And once the trigger is triggered, the error appear .
    yes. I can demo with you if you want.
    let me record a video and upload. Thanks.

    If the issue always exists after you have tested, please don't hesitate to ask professional engineers for help, and they will deal with your problem separately and confidentially: https://support.microsoft.com/en-us/assistedsupportproducts

    BR,
    Mia
    If the reply is helped, please do “Accept Answer” .

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.