Usual apologies for newbie question... I'm trying to use SQLAlchemy to insert data into a MSSQL DB with columns of type VARBINARY(MAX). The only way I could find to avoid the error message
> Implicit conversion from data type varchar to varbinary(max) is not > allowed. Use the CONVERT function to run this query. > wais to wrap the bound column in CONVERT(VARBINARY(MAX), ...). This however creates problems when I want to use the same code on other database types. I guess I could work around this issue by manually checking the database dialect, but since one purpose of SQLAlchemy appears to be to help write DB agnostic code, I would hope that this problem could be solved in a cleaner way. Many thanks for any suggestions. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.