Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7512135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:46:24+00:00 2026-05-29T23:46:24+00:00

I am creating an After Update Trigger on a SQL Server 2008 table. The

  • 0

I am creating an “After Update” Trigger on a SQL Server 2008 table. The trigger fires just fine but one of the values it’s updating in another table isn’t correct. I am looking at a trace in SQL Profiler, but I can’t see my variable’s values in there.

I read this other question and so added the RPC: Completed Event to my trace, but there were not instances of that event in my trace for some reason. That is, I see it at other places in the trace but not where my trigger is firing.

Just to (hopefully) be clear, my trigger is EXECUTING an SP like this:

EXEC SP_UpdateSomeStuff @variable1, @variable2

… and that’s all that I see in the trace. What I wish to see is:

EXEC SP_UpdateSomeStuff @variable1 = 111, @variable2 = 222

… but I can’t figure out which events to add to get this. Thanks for any ideas.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T23:46:27+00:00Added an answer on May 29, 2026 at 11:46 pm

    “RPC” stands for “Remote Procedure Call” — generally, queries submitted “from outside” to SQL Server. Trigger events are anything but outside calls, which should be why you are not seeing them in Profiler.

    I suspect that you won’t be able to see your paremeter values via SQL Profiler. Can you temporarily put in debugging code (insert DebugTable values (Wvariable1, etc.), such that the value you are working with get logged somewhere?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating a trigger in SQL Server after INSERT, UPDATE and DELETE. Is there
I'm creating the following trigger: CREATE TRIGGER Trigger_UpdateTrainingDelivery AFTER DELETE OR INSERT OR UPDATE
After creating a table (by migration), I want to insert some entries directly. How
I try to run one program in myeclipse where after creating one web project
I have a SQL script that acquires table names and creates trigger for those
I exported a database schema from one server using SQL Developer (Tools-> Database Export).
On our live/production database I'm trying to add a trigger to a table, but
I'm creating a trigger in MySQL but have a slight issue. Here's the trigger
Is there any way to get a table's last modification datetime on Sql Server
After creating a instance of a class, can we invoke the constructor explicitly? For

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.