SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Intermittent problem. Not all data is getting through to the database.


Intermittent problem. Not all data is getting through to the database.

Author
Message
Paul
Paul
Ten Centuries
Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)

Group: General Forum Members
Points: 1418 Visits: 146
Hi,

We have some software that passes information through to a SQL database. One of our customers seem to be having an intermittent problem where not all the data is getting through to the database.

It's an intermittent problem and no other customers report this issue. Our software sends the data through to the SQL database (this customer is on SQL server 2008 R2) but most of the fields will get a NULL value and some fields actually receive the data. I have tried to recreate the problem by creating exactly the same record but it seems to go through fine for me.

Do you think this could be a network issue or does anybody have any suggestions on where I can start looking to troubleshoot this issue?

Thanks in advance
Paul.
HappyGeek
HappyGeek
SSCrazy Eights
SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)

Group: General Forum Members
Points: 9000 Visits: 5704
Have you checked for any invalid characters within the source, that may be a start, oh and they may not be obviously discernable, just to make it easy!

...
GilaMonster
GilaMonster
SSC Guru
SSC Guru (674K reputation)SSC Guru (674K reputation)SSC Guru (674K reputation)SSC Guru (674K reputation)SSC Guru (674K reputation)SSC Guru (674K reputation)SSC Guru (674K reputation)SSC Guru (674K reputation)

Group: General Forum Members
Points: 674601 Visits: 48433
Unlikely to be a network problem. SQL's behaviour on data modifications is all or nothing. If an insert fails, it fails, it doesn't succeed and leave some columns NULL.

Check that the correct statements are being issued to the DB (Server-side traces, since you're using SQL 2008). Check that no one's modifying things after the fact (triggers on the tables)

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search