Just getting started with db2. Quick question about giving it SQL commands from a file.
If I run:
db2 -f mySQLcommands
and all my commands are one line sql commands they execute with no problems. if I put newlines in the middle of my sql statements then db2 comes back with "expected such and such a character after" Here is an example with new lines:
CREATE TABLE Example (
id int)
If there was no newline it would run. I tested quickly in nano, so that means it's using the \n character probably.