Versant OQL Statement with an Arithmetic operator
        Posted  
        
            by Pascal
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Pascal
        
        
        
        Published on 2010-06-08T20:17:20Z
        Indexed on 
            2010/06/09
            4:22 UTC
        
        
        Read the original article
        Hit count: 264
        
versant-object-database
|vql
I'm working on a c# project that use a Versant Object Database back end and I'm trying to build a query that contains an arithmetic operator. The documentation states that it is supported but lack any example.
I'm trying to build something like this:
SELECT * FROM _orderItemObject WHERE _qtyOrdered - _qtySent > 0
If I try this statement in the Object Inspector I get a synthax error near the '-'.
Anyone has an example of a working VQL with that kind of statement?
Thanks
© Stack Overflow or respective owner