[sqlalchemy] Querying UNIQUEIDENTIFIER with mssql

2012-06-13 Thread stevelewis
Version: 0.7 Driver: pyodbc I am able to select GUIDs out of the SQLServer DB with my columns set up like so: Id = Column(SiteID, UNIQUEIDENTIFIER, primary_key=True) I'm unable to query this field when I try this: site_id = UNIQUEIDENTIFIER(GUID_STR) q =

[sqlalchemy] Re: Querying UNIQUEIDENTIFIER with mssql

2012-06-13 Thread stevelewis
Oh, duh! I just had the wrong string format. I knew I was doing something dumb but I couldn't place my finger on it. Thanks a ton!!! On Jun 13, 4:06 pm, Michael Bayer mike...@zzzcomputing.com wrote: On Jun 13, 2012, at 3:40 PM, Michael Bayer wrote: I'm unable to query this field when I try