• I just want to see if a certain record exists, get a value from a column that's going to be used on a procedure call and do some other stuff inside the IF.



    If you need to work better, try working less...