Thanks for your reply.

I ran the full sql install and got the error. Then tried running the 2 parts separately and could run the first part but not the second 1.5 mod. Tried it on both a new database and upgraded 1.39 database. I was a little confused why it had been separated but assume the latter is only required for 1.5 carts. I'm a little baffled and not sure what to try now.