Menu

#21 Rewrite statement parser

v1.1
open
5
2002-08-02
2002-07-16
No

Rewrite statement parser to handle statements in a
specific manner, introduce saltwater
specific "commands" or "shortcuts".

Discussion

  • Sven Schrecker

    Sven Schrecker - 2002-08-02
    • assigned_to: nobody --> sschrecker
     
  • Adam Lancaster

    Adam Lancaster - 2002-08-21

    Logged In: YES
    user_id=573769

    the statement parser needs to know how to put in two single
    quotes for any single quote it encounters within a string
    literal. This is necessary since oracle uses the single quote
    as the string terminator. These are some examples of single
    quotes that would need to be replaced:

    update test set testcol = 'It's a test';
    update test set testcol = '''''''' test';

     
  • Adam Lancaster

    Adam Lancaster - 2002-08-21

    Logged In: YES
    user_id=573769

    hopefully this can be easily accomplished using some
    powerful regular expressions and the jdk1.4 String method
    replaceAll()

     

Log in to post a comment.

MongoDB Logo MongoDB