Yes, it will skip the insert statement and execute whatever is in the else clause. The thing to be careful about though, is that, if you have more than one statement in either block, be sure to wrap them in a BEGIN and END - for example:IF EXISTS (SELECT * FROM TABLE1)BEGIN INSERT INTO TABLE2 (A , B) VALUES (1, 1) INSERT INTO TABELE3 (X,Y) VALUES (7,8)ENDELSEBEGIN INSERT INTO TABELE3 (X,Y) VALUES (17,28) INSERT INTO TABELE4 (X,Y) VALUES (17,38) INSERT INTO TABELE5 (X,Y) VALUES (17,48)END
To your second question sp_stop_job can stop a job. http://msdn.microsoft.com/en-us/library/ms182793.aspx