robert rottermann wrote at 2008-12-6 17:15 +0100: >I think you should write in a python script: > >try: > result = context.insert_data.zsql I expect (at least) two errors here. "context.insert_data()" has a chance to work. > msg = 'data inserted' >except ZeroDivisionError: > msg = 'ZeroDivisionError occured' -- Dieter