So in Db2/IBM Data Studio I am unable to run this:
SELECT *
INTO newtable
FROM oldtable
I am getting this error message:
The "newtable" is not valid in the context where it is used..sqlcode=-206 sqlstate=42703, driver=3.68.61.
The table newtable does not exist already. I researched the sqlcode, sqlstate - IBM error code resolve, but it didn't help.
To clarify I want to make a copy of the oldtable as a new table newtable.
I know there are alternate ways to do this same thing but this one is the simplest and I'm wondering why it's not working.
Thank you for your time.