You need an Adapter. Let me look into this and send you one to try...

On Jun 2, 12:52 am, Andrew <awillima...@gmail.com> wrote:
> Hello,
> I'm using pyodbc to connect to a Teradata database in my normal
> python
> programs.
> I am just starting to use web2py and experimenting  with connecting
> to
> the same database.    No luck so far.
>
> The webbook says there is support for pyodbc but I cannot find any
> examples of the connection string.    The one that works in python
> that I'm trying to adapt is:
>
> db =
> DAL('pyodbc:"DRIVER={Teradata};DBCNAME=MyDBTST;UID=username;PWD=password;QU ­
> IETMODE=YES;"')
>
> Although pyodbc is a generic module, do I still need specfic Teradata
> support within web2py, which I assume doesn't exist ?
>
> Thanks
> Andrew

Reply via email to