Hello!

I am trying to connect to a database as follows:

ENGINECOM  = create_engine('mssql+pyodbc://usr:pass@MyDSN') 
METACOM    = MetaData(bind=ENGINECOM) 

COM_TABLE_ORDERHEADER   = Table('table', METACOM, autoload=True) 

My problem is that the table owner in MsSql database is different than 
'dbo' , resulting in getting errors on the Selects I do. As much as I 
searched for, I couldn't find how/where to declare the owner.

Could you please help me in some way.

Thanks a lot.

Sincerely yours

Theanoula

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sqlalchemy/-/uOK91tRTAN0J.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to