Re: [sqlalchemy] Bug Report: A regression in the MSSQL Dialect in 0.8.x

2012-12-05 Thread Derek Harland
On 6/12/2012, at 5:26 AM, Michael Bayer wrote: On Dec 4, 2012, at 6:27 PM, Derek Harland wrote: Yes In that case, how does SQL server make the distinction? If things have an embedded . then SQL server would ideally make the distinction based on you quoting the database/schema

Re: [sqlalchemy] Bug Report: A regression in the MSSQL Dialect in 0.8.x

2012-12-04 Thread Derek Harland
On 5/12/2012, at 4:30 AM, Michael Bayer wrote: On Dec 3, 2012, at 10:20 PM, Derek Harland wrote: The MSSQL dialect in 0.8.x seems to have had many of the reflection methods changed from something like: @reflection.cache def get_view_names(self, connection, schema=None, **kw

[sqlalchemy] Bug Report: A regression in the MSSQL Dialect in 0.8.x

2012-12-03 Thread Derek Harland
The MSSQL dialect in 0.8.x seems to have had many of the reflection methods changed from something like: @reflection.cache def get_view_names(self, connection, schema=None, **kw): to @reflection.cache @_db_plus_owner_listing def get_view_names(self, connection, dbname,

Re: [sqlalchemy] Decimal Type does not render scale or precision

2012-11-26 Thread Derek Harland
On 27/11/2012, at 3:01 AM, Michael Bayer wrote: On Nov 26, 2012, at 2:51 AM, txnaidaa_sqlalchemy wrote: Hi all, I have noticed that the DECIMAL type is not rendered with precision or scale: sa.__version__ '0.7.9' import sqlalchemy as sa print sa.NUMERIC(6, 4) NUMERIC(6, 4)