From daniel.dittmar at sap.com Tue May 2 14:13:11 2006 From: daniel.dittmar at sap.com (Dittmar, Daniel) Date: Tue, 2 May 2006 14:13:11 +0200 Subject: [DB-SIG] paramstyles (mysql string length?) In-Reply-To: <44542676.2060300@halfcooked.com> Message-ID: >From: Andy Todd [mailto:andy47 at halfcooked.com] >Dittmar, Daniel wrote: >> But how should a module support multiple notations? >> - by tokenizing any SQL statement to check which paramstyle was used >> - by having an option on the connection or the cursor >> - by having an additional method which requires qmark >placeholders (this >> one would be backwards compatible) >> >As paramstyle is currently an attribute of the module perhaps it could >be inherited by the connection. That way the user (if the >module allows) >could set the paramstyle on their connection to one of the available Sounds sensible to me. But I remember that I made a similar proposal a while back. And someone argued that there were some applications where 'creating the connection' and 'using execute ()' were in completely different layers. I don't know how valid this argument still is (or ever was). >options. If the module only supports a single paramstyle then changing >the attribute on the connection would have no effect. An exception perhaps? Daniel -- Daniel Dittmar SAP Labs Berlin daniel.dittmar at sap.com From yasmeen_alkadi at yahoo.com Wed May 17 09:18:08 2006 From: yasmeen_alkadi at yahoo.com (Yasmeen Alkadi) Date: Wed, 17 May 2006 00:18:08 -0700 (PDT) Subject: [DB-SIG] I need ur help plz :) Message-ID: <20060517071808.25984.qmail@web51401.mail.yahoo.com> Hello . . I am trying to control and NIDS (network intustion detection system) that uses Snort via mobile phones, but I need urgent help please in the following topics below: 1. How to send a text file from a PC running windows to a nokia mobile phone series 60, for example nokia 6680 via bluetoooth 2. How python that is installed on the mobile phone reads the accepted bluetooth message that was recived just a hwile ago in number 1. Thank you so much for your help, I really appricate it :) Jasmine . . . --------------------------------- Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/db-sig/attachments/20060517/6a6a7698/attachment.htm From mal at egenix.com Wed May 17 10:04:55 2006 From: mal at egenix.com (M.-A. Lemburg) Date: Wed, 17 May 2006 10:04:55 +0200 Subject: [DB-SIG] I need ur help plz :) In-Reply-To: <20060517071808.25984.qmail@web51401.mail.yahoo.com> References: <20060517071808.25984.qmail@web51401.mail.yahoo.com> Message-ID: <446AD927.4010501@egenix.com> Yasmeen Alkadi wrote: > Hello . . > I am trying to control and NIDS (network intustion detection system) that uses Snort via mobile phones, but I need urgent help please in the following topics below: > > 1. How to send a text file from a PC running windows to a nokia mobile phone series 60, for example nokia 6680 via bluetoooth > > 2. How python that is installed on the mobile phone reads the accepted bluetooth message that was recived just a hwile ago in number 1. > > Thank you so much for your help, I really appricate it :) This list is about accessing databases from Python. You might want to ask your question on the newsgroup comp.lang.python instead. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, May 17 2006) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! :::: From mfmorss at aep.com Wed May 17 14:09:34 2006 From: mfmorss at aep.com (mfmorss at aep.com) Date: Wed, 17 May 2006 08:09:34 -0400 Subject: [DB-SIG] apsw+sqlite Message-ID: Does anybody have any experience with apsw and sqlite? Using the latest versions of both, we are running into "illegal instruction" errors when we do a join on a large (2,000,000+ records) data base. Our working assumption is that this symptom results from a memory leak. We do not get the same symptom when we use the pysqlite interface instead of apsw. We prefer to use apsw because it is leaner, and apparently faster, than pysqlite. Mark F. Morss Principal Analyst, Market Risk American Electric Power Columbus, Ohio From matthew.cahn at bms.com Wed May 17 16:08:42 2006 From: matthew.cahn at bms.com (Matthew Cahn) Date: Wed, 17 May 2006 10:08:42 -0400 Subject: [DB-SIG] cx_Oracle and BFILE's Message-ID: <446B2E6A.3020306@bms.com> I have an application which uses Oracle (8i and 9i, but eventually 10g). It uses DCOracle2, partly for historical reasons, but also because DCOracle2 handles BFILE's. (BFILE's are like BLOB's, but the data is stored outside the tablespace.) Apparently cx_Oracle doesn't handle BFILE's: >>> cur.execute('select image from observation') Traceback (most recent call last): File "", line 1, in ? cx_Oracle.NotSupportedError: Variable_TypeByOracleDataType: unhandled data type 114 Version: cx_Oracle-4.1-win32-9i-py23.exe I'd like to switch from the unsupported DCOracle2 to cx_Oracle. BFILE's are important to the application because we'll have a couple of terrabytes of images and I don't want to make a tablespace that big. Could anyone comment on the possibility of adding BFILE support to cx_Oracle, or the difficulty of doing so? Thanks, Matthew From ishar28 at hotmail.com Mon May 29 15:51:30 2006 From: ishar28 at hotmail.com (ismail harras) Date: Mon, 29 May 2006 10:51:30 -0300 Subject: [DB-SIG] I have troubles with my little program Message-ID: An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/db-sig/attachments/20060529/6b11f2ae/attachment.html