In my application, a record inserted into sql table has to be deleted after 10 seconds of time. Is it better to do it in c# code with delay or can i do it in stored procedure with delay?
And in my case, the traffic is high, like there are thousands of records gets inserted per second into db, which needs to be handled in the above way(each record should be deleted exactly after 10 secs after it is inserted). If i use delay using stored procedure, would there impact on performance?