Pushes a faulty SQL statement to the error stack.
(ade_errpushstatement statement position)
Returns T or nil.
statement | Faulty statement that caused the error (string) |
position | Starting position of the error in the faulty statement (integer). Position 1 corresponds to the first character. |
This function is designed to add diagnostic information to an error you have just pushed. It is associated with the latest error in the stack only. A call to ade_errpushstatement makes sense only if a call to ade_errpush immediately precedes it.