Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Database mail with @query issue!

    I worked arround this issue by adding the following sentences before calling sp_send_dbmail:

    USE msdb

    EXECUTE AS USER = 'dbo'

    For example:

    USE msdb

    EXECUTE AS USER = 'dbo'

    EXEC msdb.dbo.sp_send_dbmail

    @profile_name =...

Viewing post 1 (of 1 total)