Even if you use odbc, don't you you still need to generate SQL
statements in the DB2 SQL dialects?

Massimo

On Feb 22, 2:01 pm, carlo <syseng...@gmail.com> wrote:
> massimo, I do not need native db2 support I always had access via odbc
> ( I like pyodbc ), I was just wondering how I can have a connection
> through a DSN (very common in windows environment) instead of using
> the usual connection string. I found something in one thread here but
> nothing official in the book.
> As I said in my app I had:
>
> db400=pyodbc.connect("DSN=myAS400;UID=myUID;PWD=myPWD")
>
> I need a DAL equivalent.
>
> Said that, if you need to test a new web2py db2 support, I am
> available as I have a vpn to my client's AS400 .
>
> carlo
>
> On 22 Feb, 17:34, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > We do not have DB2 support but if you are available to run some tests
> > we can have that in a couple of days.
> > I will email you a new sql.py for you to test later today.
>
> > Massimo
>
> > On Feb 22, 9:47 am, carlo <syseng...@gmail.com> wrote:
>
> > > I am going to port an application developed in Karrigell to web2py:
> > > RDBMS was DB2  on as400.
>
> > > In my actual version I connected through DSN and pyodbc this way:
>
> > > db400=pyodbc.connect("DSN=myAS400;UID=myUID;PWD=myPWD")
>
> > > How can I get a DSN connection through SQLDB? thank you
>
> > > carlo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to