2 Replies Latest reply: Aug 2, 2013 6:52 AM by 67753fd2-3020-435c-8f08-43a3e0f4e914 RSS

    SQlPlus command parser

    67753fd2-3020-435c-8f08-43a3e0f4e914

      Hello everyone!

      Please help me. I need to parse .sql file to tree and I can't find how to do it.

      (We apply sql files by sqlplus and we have some problems with '/': after anonymous blocks - it haven't applied without '/'; Also not-anonymous block applied twice when we have both ';' and '/'. I need to report about problems before file will apply.)

      I've tried to use ANTLR with it grammar but it build awful tree.

       

      Sorry for my english