Your 'insert into' specifies 2 values, but your 'create table' lists three columns. I think this should throw a mismatch error. But you are not checking for errors, except in the connect, and even there you would be displaying the wrong error message if there were a problem (
is)...try setting RaiseError to 1, and specify column names in your insert statement.