• only line I left out was "drop table #t1" at the end. Thanks