I have a database that collects sensor data for customers and ocassionally there is a spike from one of the sensors that needs corrected. How can I create a stored procedure that will run through the data and find a value that jumps abnormally high from the value in the record before it and the record after it? The values constantly move up and down but they should never jump extremly high compared to the one before it and after it. Please help as the next problem will be to create a procedure that will automatically correct the spikes when they appear.
I appreciate any help on this issue.
JCFrasco
I appreciate any help on this issue.
JCFrasco