vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| If you are using a standard db2 command window then the you don't have to do anything as the line wraps to the next line and the db2 command interpreter takes care of it. If you need, want,require a new line then use the " \ " (reverse slash) at the end of the line to indicate a continuation on the next line. If you are doing this in a script file then you need to indicate to db2 what will be the command terminator (default is semi-colon " ; "). Anything in between a ; and the next ; is considered a full line whether or not there a CR/LF or new line indicators. HTH, Pierre. Troels Arvin wrote: > Hello, > > DB2's SQL-shell ("db2") seems to dislike newlines in SQL-statements. Am I > right, or have I overlooked an option which makes it accept staments with > newlines? > |