Re: specifying schema for mssql

Oleg Broytman <[email protected]>
Newsgroups gmane.comp.python.sqlobject
Message-ID <[email protected]>
On Mon, Feb 04, 2013 at 02:20:59PM -0700, Andrew Z <[email protected]> wrote:
> With SQLObject 1.3.2 and mssql backend, how do you specify the schema
> equivalent to the command 'use foo'?  I want to use a schema that is
> neither 'dbo' not the default for the user.  I don't see how to do it
> using the URI after glancing over the documentation and code.

   Using non-default schema is only implemented for Postgres. You can
see how it's implemented in sqlobject/postgres/pgconnection.py and
implement something similar for mssql.

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            [email protected]
           Programmers don't die, they just GOSUB without RETURN.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.