View Single Post

  #1 (permalink)  
Old 01-24-2007
Sam Smith
 
Posts: n/a
Default Can you do this in MySQL 4.1 scripting?

Is it possible to catch an error in 4.1 scripting? I have found that whan I
run a script and a line of the script cannot find a table - instead of
halting
the script continues to run.

Is there anyway to get MySQL to halt the running of a script if an error
occurs in one line?

It's a little like the whole system is running with the VB 'on error resume
next' running all of the time.

Thank you for your help.


Reply With Quote