• Grant Fritchey - Monday, April 24, 2017 12:54 PM

    OK. Redid it all and I'm still not getting the error. The one thing that might be causing it is putting a USE database statement in the sample code prior to installing tables, etc. My script above looks like crap for some reason. Here's a repaste

    <snip>

    That looks better.

    Up to a point, guv.  The point being where you realise that each statement in your query appears to be a duplicate (albeit differently-formatted) duplicate of the preceding statement...

    ...which doesn't help the OP with their problem.  Sorry.  I'll go crawl back under my rock until I've had more coffee.

    Thomas Rushton
    blog: https://thelonedba.wordpress.com