Click here to Skip to main content
14,330,218 members
Rate this:
Please Sign up or sign in to vote.
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

Rate this:
Please Sign up or sign in to vote.

Solution 1

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.
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100