Unix Technical Forum

SQLserver on SBS2003 returns old data

This is a discussion on SQLserver on SBS2003 returns old data within the SQL Server forums, part of the Microsoft SQL Server category; --> SQLserver on Small Business Server for Win 2003. Client application updates records in DB. i.e. the content of a ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 08:48 PM
Poul Petersen
 
Posts: n/a
Default SQLserver on SBS2003 returns old data


SQLserver on Small Business Server for Win 2003.
Client application updates records in DB. i.e. the content of a field is
updated from "First" to "Second"
Client application closed and opend again. DB returns value "Second".
Next morning _SOME_ - not all - of the updates seems missing. DB returns
the value "First"

The client software has run for years i several thousand installations,
with MSDE/SQLserver on w2k and 2003 servers.
This is the first time we have seen this spooky behavior. And it is the
first time we are targeting SBS.

Could there be some unflushed cache between client and SQLserver?


Poul Petersen
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 08:48 PM
Erland Sommarskog
 
Posts: n/a
Default Re: SQLserver on SBS2003 returns old data

Poul Petersen (psp@tech-p.dk) writes:
> SQLserver on Small Business Server for Win 2003.
> Client application updates records in DB. i.e. the content of a field is
> updated from "First" to "Second"
> Client application closed and opend again. DB returns value "Second".
> Next morning _SOME_ - not all - of the updates seems missing. DB returns
> the value "First"
>
> The client software has run for years i several thousand installations,
> with MSDE/SQLserver on w2k and 2003 servers.
> This is the first time we have seen this spooky behavior. And it is the
> first time we are targeting SBS.
>
> Could there be some unflushed cache between client and SQLserver?


No.

I don't know much about SBS, but I've never heard anything that SBS
would come with some special version of SQL Server.

This behaviour typically has two explanations:
1) Poorly handled query timeouts. If a query times out, no transaction
is rolled back automatically. If the client does not handle this
appropriately, the user may jog along all day with an open transaction.
When he logs out, everything is rolled back.

2) There is simply a process that performs an update in the other
direction.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:49 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com