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

 All Forums
 General SQL Server Forums
 Data Corruption Issues
 Rows getting disappeared from sql server

Author  Topic 

vsc33
Starting Member

3 Posts

Posted - 2009-03-13 : 08:55:35
My application runs in vb.net with back-end as SQL Server. There are two tables in my database. For example in a single day 10 labours made 500 nos of production. Table A will carry a single row with total no of production (500 nos) and Table B will carry detail of each labour, in this case this table will have 10 rows.

For each transaction Table A creates an auto number which is linked to Table B.

This block of transaction is under try and catch. Say 1 out of a 1000 record, the row in Table A disappears, while its very much present in Table B with the linking number.


There is no delete statement in the entire application

Is it a sort of bug, or dont know what's happening. Please help



guptam
Posting Yak Master

161 Posts

Posted - 2009-03-13 : 19:44:21
Do you have any triggers with rollback?

--
Mohit K. Gupta
B.Sc. CS, Minor Japanese
MCITP: Database Administrator
MCTS: SQL Server 2005
http://sqllearnings.blogspot.com/
Go to Top of Page
   

- Advertisement -