From: Holger Schurig [mailto:[EMAIL PROTECTED]]
>             print "HERE5"
>             name = upper (name)
>             result = sapdb.connect (name, pwd, dbname, node)
[...]
> Error message -4008 says username/password wrong. But it is no longer 
> wrong in the second connect, because after this I can do a "SELECT * 
> FROM DUAL".
> 
> So how do specify options like 'isolation=1&timeout=0' ?  Can this be 
> done later, outside of the connect statement?  Or before connecting?

Could it be that you passed a lowercase username to the first connect?
Contrary to most (all?) other programming interfaces, the Python interface
doesn't map the username to upper.

But yes, you can change the isolation level after the connect:
http://www.sapdb.org/htmhelp/44/a17998442911d3a98200a0c9449261/frameset.htm

Daniel Dittmar

-- 
Daniel Dittmar
SAP DB, SAP Labs Berlin
[EMAIL PROTECTED]
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to