• Please check if following statement is missing from your script -

    Alter Table TestTable Add ColRowNo int

    if it is missing, then add it next to statement "select * from TestTable"

    it will work.