From: Mike <mo...@bi...> - 2000-12-26 06:02:37
|
Well, I'm feeling stupid. Last time I rely on the docs without checking the code. The docs say that there is a dialect property but evidently it has not been implemented yet. How about an update to the docs or the code? -----Original Message----- From: kin...@li... [mailto:kin...@li...]On Behalf Of Mike Sent: Monday, December 25, 2000 9:29 PM To: kin...@li... Subject: RE: [Kinterbasdb-help] Set Dialect -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Just so that there is a record in the mailing list archive. The way you set the dialect is through the connection objects dialect property. To use tables with date and array fields you need to set the dialect to 3. - -----Original Message----- From: kin...@li... [mailto:kin...@li...]On Behalf Of Mike Sent: Friday, December 22, 2000 10:56 PM To: Kinterbase (E-mail) Subject: [Kinterbasdb-help] Set Dialect - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 When I try to set the dialect I get the following output. >>> curse.execute("SET SQL DIALECT 3") Traceback (most recent call last): File "<stdin>", line 1, in ? File "f:\python20\lib\kinterbasdb.py", line 105, in execute res=_kinterbasdb.execute(self.cur, sql) kinterbasdb.error: (-104, 'isc_dsql_prepare: Dynamic SQL Error. SQL error code = -104. Token unknown - line 1, char 4. SQL. ') Anyone know what is wrong? - -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com> iQA/AwUBOkRMiXpls1gKRg1AEQIT/wCgwTMW58aySBYZWM3i0u7NdTEV37UAnjW0 C9jEr7uiEIoZkMmhjN30/ty9 =4Zne - -----END PGP SIGNATURE----- _______________________________________________ kinterbasdb-help mailing list kin...@li... http://lists.sourceforge.net/mailman/listinfo/kinterbasdb-help -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com> iQA/AwUBOkgsh3pls1gKRg1AEQJQ5ACgyQG79SIcndJWKSlQgqv4mNqV6JcAnjIW KuoqWRncb3DeigiuqdPKTznF =mrvw -----END PGP SIGNATURE----- _______________________________________________ kinterbasdb-help mailing list kin...@li... http://lists.sourceforge.net/mailman/listinfo/kinterbasdb-help |