Is there a way to fire a trigger 'as a user'.
The problem is when a database (database1) is updated using an application role it attempts to fire a trigger which is modifying or adding a record to another database (database2). This works OK in query analyser, but when run under the program an exception is raised \\domainuser\userid is not a authorized user in database2
I am looking for a way to force a standard user login to fire the trigger as, is this possible??
The problem is when a database (database1) is updated using an application role it attempts to fire a trigger which is modifying or adding a record to another database (database2). This works OK in query analyser, but when run under the program an exception is raised \\domainuser\userid is not a authorized user in database2
I am looking for a way to force a standard user login to fire the trigger as, is this possible??