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

  • SEARCH
  • Home
  • 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 4615828
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:53:44+00:00 2026-05-22T01:53:44+00:00

Workflow: I have two stored procedures. One stored procedure calls the other. When I

  • 0

Workflow:

I have two stored procedures. One stored procedure calls the other. When I first open SQL Server Management Studio, the child/nested stored procedure has no output parameters. Nor does my parent/calling stored procedure have an “OUTPUT” keyword on the argument when calling the child/nested stored procedure. And of course I’m not expecting any argument to be returned as output in my parent/calling stored procedure from the child/nested stored procedure.

Then I decided I need the returned value of the id that was inserted during that child/nested stored procedure, so I decided to put an “OUTPUT” keyword onto the parameter so that I can retrieve that value in the parent/calling stored procedure.

So I altered my child/nested stored procedure after adding an “OUTPUT” keyword on the end of the parameter. And clicked the “Execute” button in SQL Server Management Studio to save the stored procedure.

Then I added an “OUTPUT” keyword for the argument of my parent/calling stored procedure that matches up with the parameter of the child/nested stored procedure. Then I clicked the “Execute” button in SQL Server Management Studio to save the stored procedure.

Issue:

I have red underlines under my argument in the parent/calling stored procedure. The tooltip for the error says, “The formal parameter @donorid was not declared as an output parameter, but the actual parameter passed in requested output.”

Workaround:

I can easily restart SQL Server Management Studio and it clears the cache and the red underlines go away, but I’d like to know the command that clears it without restarting.

PS: I’ll post my stored procedures in separate posts so you have an example to work from.

  • 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-22T01:53:45+00:00Added an answer on May 22, 2026 at 1:53 am

    This is Microsoft Connect bug 668511.

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

Sidebar

Related Questions

I have two workflow foundation (.NET 3.5 SP 1) application which compiles fine. It
I have a MOSS workflow where on the first form, the user can choose
I have two databases, one is in a test environment and is sqllite3 and
I have a workflow which has a custom activity which calls a web service.
Let's say you have two public feature branches, feature1 and feature2 . The workflow
I have two workflow services (state machines) that should cooperate and exchange information to
I have two process and a shared memory zone, my workflow is like this.
The .NET Framework seems to have two implementations of the DependencyProperty object System.Windows.DependencyProperty System.Workflow.ComponentModel.DependencyProperty
I have two tables that get joined regularly. Table One is about 1 Million
I have two machines I work on: Windows Client (Development Machine) Linux Web Server

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.