Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2008
    Posts
    22

    Unanswered: How to come out of this line

    Hi guys,
    How do we come out from this line. Sometime i get stock in this line and dont know how to come back. For example:-

  2. #2
    Join Date
    Mar 2008
    Posts
    22
    mysql> SELECT name, owner
    -> FROM pet
    -> '
    '>
    '> exit
    '> escape
    '>
    '>
    '>
    '>
    '>
    '>

  3. #3
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    try the semi colon ;
    which terminates most, if not all SQL statements

  4. #4
    Join Date
    Mar 2007
    Location
    636f6d7075746572
    Posts
    770
    You need to close the string before you can exit, so use:

    ' ;

  5. #5
    Join Date
    Mar 2008
    Posts
    22
    Thanks guys

Posting Permissions

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