Q
Problem solve Get help with specific problems with your technologies, process and projects.

Requery stored procedures

I want to requery my SQL Server stored procedures (with parameters) using a Microsoft Data Environment. I can access the recordset to do most programming tasks but when I try to requery the database it asks for the parameter and I don't know how to supply it. Do you have any suggestions?

This is not a SQL Server issue. It does not maintain "state" from one query to the next. Every time you issue a stored procedure call, you must supply all of the parameters. This must be done from your application. You simply store those variables in your application and reuse them when necessary. There is nothing you can do in SQL Server to get around this.

 

For More Information

Dig Deeper on Microsoft SQL Server Installation

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchBusinessAnalytics

SearchDataCenter

SearchDataManagement

SearchAWS

SearchOracle

SearchContentManagement

SearchWindowsServer

Close