The script is doing exactly what you asked it to do.
Obviously, since you never insert any records into the new table, your query will never return anything except column names.
Equally obvious, since your script tries to create the table mytable each time it is run, each run after the first will fail since the table mytable already exists.
Scott
In reply to Re: Weird uninitialized value error
by helphand
in thread Weird uninitialized value error
by lampros21_7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |