[Zope] db connection question

Philip Corp pcorp@banta-im.com
Tue, 04 Jan 2000 14:49:34 -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