Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 data from stored procedure stale
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dlangschied
Starting Member

USA
1 Posts

Posted - 10/02/2014 :  14:09:09  Show Profile  Reply with Quote
I am a newbie to SQL and have to deal with a situation on an old SQL server (2000). I am executing a stored procedure in a database on that server and returning it to our new(er) SQL server (2005). Sometimes, the data I get is not new. For example, I have a lot of parts that are on hold for quality purposes. The lot is cleared on the old server for shipment. On the new server, I execute the stored proceure on the old server to bring back the quality results (a release of the lot for shipment). It still shows the lot as being on hold. After 10-15 minutes, it finally shows the shipment as cleared. The strange thing is that this does not happen all of the time. The query itself is very simple. Look for lot number on old server and bring back status to new server. The lot number is an atypical parameter. It is unlikely that it will be queried more than once in a typical day, except for when the lot is initially on hold, but need to be released.

I hope this is an easy solve!

Regards,
David

tkizer
Almighty SQL Goddess

USA
38200 Posts

Posted - 10/02/2014 :  14:15:49  Show Profile  Visit tkizer's Homepage  Reply with Quote
If it's bringing back the wrong data, then the stored proc needs to be investigated. We can't help since you didn't post the code, sample data and expected output. Please provide more info.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000