in reply to Re^4: last_insert_id() in sybasein thread last_insert_id() in sybase
What are the error messages you get when you execute that script? And what is the code using do that works?