)AS CALCUL FROM Mytable)
gives correct results.
Thanks
Dominique
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from
Mike,
I just had a quick look. See further in a moment.
Thank you very much for your time, your work and your help.
I really appreciate
Dominique
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
sqlalchemy group
own type as explained in
http://www.sqlalchemy.org/docs/05/types.html#types_custom, but without
success.
Any help would be much appreciated.
I would really like to improve my level in both python and SA ;-).
Some day, I'll help newbies !
Many thanks in advance
Dominique
not correctly used or working in certain
cases ?
Thanks in advance for your answer
Dominique
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#from __future__ import division
from sqlalchemy import *
from sqlalchemy.orm import *
from sqlalchemy.sql import *
import time
metadata = MetaData()
engine
will be correctly ordered)
If this can give you hints to help me...
Thanks
Dominique
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe
For those who may get stuck on this kind of things in the future:
This works fine:
session.execute(SELECT * ,(CASE WHEN Mytable.ColC = :i THEN :i WHEN
Mytable.ColC :i THEN CAST(Mytable.ColB AS FLOAT) / Mytable.ColC END)
AS Calcul FROM Mytable ORDER BY Calcul, {'i':0})
Thanks
Dominique
I want ?
Additional question:
I ordered Essential SqlAlchemy on the French Amazon, but haven't
received it yet (may be still on print ?).
Does anybody know if it has been issued already in the US ?
Many thanks in advance for helping me
Dominique
that way,
then the check event flag approach you're using would be able to work.
-Peter
That's exactly what I am going to do.
Many thanks for your help
Dominique
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
, the thread
doesn't abort and goes on till it sends the result.
Does anybody knows how to tackle this issue ? Should I close the
first session under the main App ?
Something else ?
Many thanks in advance for any hints
Dominique
--~--~-~--~~~---~--~~
You received
.
Is it possible or am I trying to do something impossible ?
Thanks
Dominique
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
10 matches
Mail list logo