Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2015
    Posts
    2
    Provided Answers: 1

    Answered: DB2 statement termination

    Hi!
    I'm new in DB2. I have got a problem with the statement termination character.
    Its ;, I know. When i start db2 with db2 -t, its good, i don't have any problem.
    I can write command and using ; after it.
    But when i exit from db2, and start it again, i have to write again: db2 -t to use statement termination character after commands.
    I want to enable statement termination, can I save somehow this option? In the school, I don't have to write: db2 -t.
    The statement termination with ; is work without it there.
    Thanks

  2. Best Answer
    Posted by xyzikeee

    "Answer:

    In DB2 command window:

    set DB2OPTIONS= -t


    After that, u can start db2, and now after every statement u have to use ; ."


  3. #2
    Join Date
    Sep 2015
    Posts
    2
    Provided Answers: 1

    craig

    Answer:

    In DB2 command window:

    set DB2OPTIONS= -t


    After that, u can start db2, and now after every statement u have to use ; .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •