[Zope-dev] odbc db connection question

Philip Corp pcorp@banta-im.com
Tue, 04 Jan 2000 13:59:38 -0500


Is there a way to pass SQL directly to an odbc database connection from
an external method in Zope 2.1.1? I have tried the following:

def someMethod(self):
    r = self.my_odbc_connection.query('select * from some_table')

However, it just returns a generic server error. Any help would be
really appreciated. Thanks.
Phil