On Thu, Apr 17, 2008 at 1:22 PM, Rick Morrison <[EMAIL PROTECTED]> wrote:
> ok, ok, assuming that dsn-less connections actually do ignore the .conf file
> and require all that stuff to be specified.
>
> here's the question that I'm trying to ask:
>
> instead of something like this:
> create_engine('mssql://user:[EMAIL PROTECTED]/database',
> odbc_driver='TDS', odbc_autotranslate='No', odbc_tds_ver='8.0')
>
> how about this:
> create_engine('mssql://user:[EMAIL PROTECTED]/database',
> odbc_connect='DRIVER=TDS; TDS_Version=8.0; OtherODBCStuff=goes here')
>
how about:
odbc_options='DRIVER=TDS; TDS_Version=8.0; OtherODBCStuff=goes here'
>
> do you see the difference? Instead of providing a hundred and one
> ODBC-specific keyword options, we just allow you to specify part of the ODBC
> connect string directly.
This would be perfect, since who knows what other options might need
to be specified as things progress.
Let me know when I would be able to try this out.
Lucas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---