mssql 2005+sp2
test code
-----------------------
subject=Table('subject',metadata,
Column('subid',Unicode(18),primary_key=True),
Column('rest',Float),
Column('relevantid',Integer))
print
select([func.cast(subject.c.relevantid,'varchar')]).execute().fetchall()
general sql
------------------------------
'SELECT cast(subject.relevantid, ?) AS cast_9b72 \nFROM subject'
cast(subject.relevantid,?) ??
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---