We have a Log table which logs the events of a request.
When any error event occurs, I need a query to see the row with errorevent and the previous row to this row which contains the actual data which caused the error.
Here is the table structure:
LOGID (int), --> primary key
Description (varchar (max))
Any help is greatly appreciated..