On Feb 13, 4:23 pm, Paul Johnston <[EMAIL PROTECTED]> wrote:
> Hi,
>
> >I'm wondering where I can specify that the tables that I want are in
> >the schema DataTables instead of 'dbo'. The engine.echo outuput shows
>
> It's an argument to Table() e.g.
>
> ke_contracts = Table('KEContracts', sa.metadata,
> autoload=True, schema="DataTables")
The latest svn SA shows the schema as hardcoded:
class MSSQLDialect(ansisql.ANSIDialect):
def __init__(self, module=None, auto_identity_insert=False,
encoding=None, **params):
self.module = module or dbmodule
self.auto_identity_insert = auto_identity_insert
ansisql.ANSIDialect.__init__(self, encoding=encoding,
**params)
self.set_default_schema_name("dbo")
--~--~---------~--~----~------------~-------~--~----~
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 this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---