Click here to Skip to main content
15,919,479 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have problem in my website.The problem is that the table likes truncating itself. I had loaded it yesterday, ran my application, went to sleep and today morning I find it truncated.Pls give me a solution.I am using asp.net with c# and Sql server 2008 Express edition.
Posted
Comments
Rajesh Anuhya 12-Jan-12 7:09am    
then, today night don't go to sleep :-)
bbirajdar 12-Jan-12 7:11am    
Its really wierd. I think your database is hit by the 'kill the developer' syndrome. Today , don't sleep and keep watching the table overnight. And when the table tries to truncate itself, catch him and bring it to the notice of your project manager. He knows how to handle that situation. (PUN intended)

1 solution

You can run a profiler in SQL & then run your application & check the queries/sp ran by your code, might be some of the sp have a delete code.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900