Try this:
s = store.execute(Select( Max(Account.id), Like(Account.id,'1%')) ).get_one()

~GerdusVZ

On Jan 15, 2008 9:28 PM, Eduardo Willians <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Is there a storm way to execute the following query:
>
> SELECT MAX(OpNum) FROM operacoes WHERE  OpNum LIKE "8%"
>
> Notice that OpNum column has integer type.
>
> Thanx,
>
> EduardoWillians
>
> --
> storm mailing list
> [email protected]
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/storm
>

-- 
storm mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/storm

Reply via email to