Recent content by sergejh

  1. S

    Syntax analysis of query

    I have old DLL, which contains functions of syntax analysis of query and parsing. That is: SelPsrParseSelect( char *selectText, SYNTAXBUFFER *syntaxItems); SelPsrGetNumItems( SYNTAXBUFFER *syntaxItems, int *numItems ); SelPsrFindItemType( SYNTAXBUFFER *syntaxItems, int minItemType, int...
  2. S

    Is there any possibility to check SQL syntax using doa?

    And DOA function do that is Execute() ? Now, I doing next: MyCheckQuery() { TOracleQuery *q = new TOracleQuery; q->Session = ...; //set session q->SQL->Text = "..."; //some query try { q->Execute(); q->Rollback(); } catch(...) { ; //some error } } Is this right? But this...
  3. S

    Is there any possibility to check SQL syntax using doa?

    If describe() does not parse SQL query, how can I do it? My problem is... when I call TOracleQuery q; q->describe(); It describe field definitions, but not check SQL syntax (for example, for SQL-query it work correctly, but for INSERT-query - always return true). Why DOA do not has function...
Back
Top