You are right, Michael,
1=0 works.
thank you,
j
Michael Bayer ha scritto:
> I'd try 1 = 0 .... I dont think oracle has boolean keywords at least
> last I checked...
>
>
> On Dec 11, 2008, at 4:09 AM, jo wrote:
>
>
>> Hi all,
>>
>> I'm trying sqlalchemy with Oracle. Seems Oracle doesn't understand
>> the syntax True = False....
>>
>> ...
>> File "/usr/lib/python2.4/site-packages/sqlalchemy/engine/base.py",
>> line 599, in _execute
>> raise exceptions.SQLError(context.statement, context.parameters, e)
>> SQLError: (DatabaseError) ORA-00904: "FALSE": invalid identifier
>> 'SELECT count(permesso.codice) \nFROM permesso \nWHERE True =
>> False' {}
>>
>>
>> any ideas?
>>
>> j
>>
>>
>>
>>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---