Re: Oracle Database

2017-03-07 Thread Joaquin Henriquez
  Original Message   >What is the easiest way to connect to an Oracle Database >using python in >order to run queries? ‎You should check module cx_Oracle -- https://mail.python.org/mailman/listinfo/python-list

Re: Oracle Database

2017-03-07 Thread Chris Angelico
On Wed, Mar 8, 2017 at 6:21 AM, Robert James Liguori wrote: > What is the easiest way to connect to an Oracle Database using python in > order to run queries? There's a Python package called cx_oracle that provides a standardized interface. You can run queries using t

Oracle Database

2017-03-07 Thread Robert James Liguori
What is the easiest way to connect to an Oracle Database using python in order to run queries? -- https://mail.python.org/mailman/listinfo/python-list

Re: Insert blob data from one db to other db in oracle

2017-03-03 Thread Murthy Jn
No One don't no ? how to insert data from one table to another table using oracle? -- https://mail.python.org/mailman/listinfo/python-list

Re: Insert blob data from one db to other db in oracle

2017-02-28 Thread Murthy Jn
On Tuesday, February 28, 2017 at 6:30:54 PM UTC+5:30, Murthy Jn wrote: > I have the table structure in one db is number,photo,date,name. > the same structure is there in other database in other machine. > > I want to insert table1 data from db1 into table2 in db2 using python script. > > Some one

Insert blob data from one db to other db in oracle

2017-02-28 Thread Murthy Jn
I have the table structure in one db is number,photo,date,name. the same structure is there in other database in other machine. I want to insert table1 data from db1 into table2 in db2 using python script. Some one could please help me in this.. I have tried like below. for fetching rows db conn

Python with Oracle Database Course.

2016-05-03 Thread Tarek Abulnaga
I have created Python with Oracle Database Course, and offer 50% discount till 10-5-2016. Any one interested in course just click on below link. https://www.udemy.com/using-python-with-oracle-db/? Then write coupon Code=PYTHON_ORACLE_50%25 -- https://mail.python.org/mailman/listinfo/python

Installation error, compiling from source on Oracle Linux

2016-02-16 Thread John D. Gwinner
I'm installing an app that requires Carbon and some other Python 2.7 features. The version of Oracle Linux we're using comes with 2.6. I've read that it is not a good idea to directly update the O/S as it "may break things" so I'm doing make altinstall. I've

Re: Oracle connect

2015-09-30 Thread Larry Martell
On Wed, Sep 30, 2015 at 11:25 AM, wrote: > Hi > New to Python and just downloaded 3.5 > Trying to connect to Oracle but failing - eg > > import cx_oracle > connstr = 'userid/password@@99.999.9.99:PORT/SID' > connection = cx_oracle.connect(connstr) > cursor = co

Oracle connect

2015-09-30 Thread pip7kids
Hi New to Python and just downloaded 3.5 Trying to connect to Oracle but failing - eg import cx_oracle connstr = 'userid/password@@99.999.9.99:PORT/SID' connection = cx_oracle.connect(connstr) cursor = connection.cursor() cursor.execu

Re: Easiest Way to Do Cross-Platform DB Access (Oracle)

2014-08-19 Thread TommyVee
"Gary Furash" wrote in message news:135759bf-0823-480c-9631-106d6cf1a...@googlegroups.com... I need to be able to access Oracle from both Windows and *nix, however, it seems kind of tortuous getting everything working each time on each server. With Java I can just drop (usuall

Easiest Way to Do Cross-Platform DB Access (Oracle)

2014-08-19 Thread Gary Furash
I need to be able to access Oracle from both Windows and *nix, however, it seems kind of tortuous getting everything working each time on each server. With Java I can just drop (usually the same) JDBC library files in a location and everything works. I'm sure there's some easier wa

Oracle

2013-03-21 Thread amani . abdulhadi
Oracle In Classical Antiquity, an oracle was a person or agency considered to be a source of wise counsel or prophetic predictions or precognition of the future, inspired by the gods. As such it is a form of divination. The word oracle comes from the Latin verb ōrāre "to speak" an

Oracle E-Business Suite Techno Functional Consultant Required for UAE

2012-12-21 Thread VAM SYSTEMS
VAM SYSTEMS is a Business Consulting, IT Solutions and Services company with operations in UAE, Qatar, Bahrain, USA, Australia, Singapore & India. VAM SYSTEMS is currently looking for Oracle E-Business Suite Techno Functional Consultant for our UAE operations with the following skill set and t

Available candidate for Oracle DBA

2012-06-05 Thread deepak tekwissen
Hi, Hope you are doing good,, Skill SetCurrent-location RelocationAvailability oracal DBAtennessee yes immediately As per your requirement for Oracle DBA position, I’m forwarding you one of my

Re: Execute python within Oracle

2011-12-09 Thread Ian Kelly
2011/12/9 André Lopes : > Hi all, > > > >    I wrote a simple Java program to be called within an Oracle database. The > goal is to execute a Python program within the DB itself, by the means of a > Java program. The problem is that when I execute the procedure inside the

Execute python within Oracle

2011-12-09 Thread André Lopes
Hi all, I wrote a simple Java program to be called within an Oracle database. The goal is to execute a Python program within the DB itself, by the means of a Java program. The problem is that when I execute the procedure inside the DB, nothing happens… If I create the same Java class

Re: Connecting to remote Oracle db via Python

2011-02-18 Thread Alexander Gattin
Hello, On Thu, Feb 17, 2011 at 02:40:22AM -0800, pstatham wrote: > I've installed the cx_Oracle module for Python > and I'm trying to connect to my remote Oracle > db. Can you tnsping your remote Oracle DB successfully? > >>> uid = "scott" > >&

Re: Connecting to remote Oracle db via Python

2011-02-17 Thread Anurag Chourasia
t;> From: Anurag Chourasia [mailto:anurag.choura...@gmail.com] >> Sent: 17 February 2011 14:41 >> To: Paul Statham >> Cc: python-list@python.org >> Subject: Re: Connecting to remote Oracle db via Python >> >> Could you try by using a connecting string in t

Re: Connecting to remote Oracle db via Python

2011-02-17 Thread Anurag Chourasia
u, Feb 17, 2011 at 8:18 PM, Paul Statham wrote: > Doesn't seem to work > > -Original Message- > From: Anurag Chourasia [mailto:anurag.choura...@gmail.com] > Sent: 17 February 2011 14:41 > To: Paul Statham > Cc: python-list@python.org > Subject: Re: Connecting to r

Re: Connecting to remote Oracle db via Python

2011-02-17 Thread Anurag Chourasia
b 17, 2011 at 4:10 PM, pstatham wrote: > Hi Guys, > > I've installed the cx_Oracle module for Python and I'm trying to > connect to my remote Oracle db. Like so (username, password and ip > below aren't real don't worry) > >>>> uid = "scott

Connecting to remote Oracle db via Python

2011-02-17 Thread pstatham
Hi Guys, I've installed the cx_Oracle module for Python and I'm trying to connect to my remote Oracle db. Like so (username, password and ip below aren't real don't worry) >>> uid = "scott" >>> pwd = "tiger" >>> service

Re: Error python + cx_Oracle :Oracle-Error-Message: ORA-01036: illegal variable name/number

2011-01-04 Thread Ian Kelly
On Tue, Jan 4, 2011 at 12:57 PM, Mauricio Martinez Garcia wrote: > > Hi, i need help with the next error: > > "ERR_PYTHON:Oracle-Error-Message: ORA-01036: illegal variable name/number", > i used the cx_Oracle module, and the error not is only Oracle Error. > > The

Error python + cx_Oracle :Oracle-Error-Message: ORA-01036: illegal variable name/number

2011-01-04 Thread Mauricio Martinez Garcia
Hi, i need help with the next error: "ERR_PYTHON:Oracle-Error-Message: ORA-01036: illegal variable name/number", i used the cx_Oracle module, and the error not is only Oracle Error. The error its for that python don't translate the query, with the variables ":VARIABLE&q

Oracle jdbc sql select for update in python

2010-11-17 Thread loial
I want to do a select from...for update in python, update the selected row and then commit; However cannot seem to get it to work...the update statement seems to be waiting because the row is locked. Presumably oracle thinks the update is another transaction. How can I get this to work? What

Urgent :Required for Oracle DBA in Qatar

2010-11-01 Thread VAM SYSTEMS
VAM SYSTEMS is a Business Consulting, IT Solutions and Services company with operations in UAE, Qatar, Bahrain, USA, Australia, Singapore & India. VAM SYSTEMS is currently looking for Oracle DBA for our Qatar operations with the following skill set and terms and conditions: Skill Set requ

Re: cx_Oracle 5.0.4 + Python 3.1.2 + Oracle Instant Client 10.2.04; DLL Load failed on import (Win/NT)

2010-08-13 Thread Hans Mulder
LL to your PATH variable. No, isn't that only if I have an actual Oracle client installed (not the instant client)? Whether you use the instant client or an actual Oracle client is not the issue. You may or may not need LD_LIBRARY_PATH either way. When you import cx_Oracle on Linux, it lo

Re: cx_Oracle 5.0.4 + Python 3.1.2 + Oracle Instant Client 10.2.04; DLL Load failed on import (Win/NT)

2010-08-12 Thread tormod
On Aug 12, 12:30 pm, Alexander Gattin wrote: > Does Windows have anything like > LD_LIBRARY_PATH/SHLIB_PATH? No, isn't that only if I have an actual Oracle client installed (not the instant client)? But great tip, wasn't exactly the solution, but your question triggered me to c

Re: cx_Oracle 5.0.4 + Python 3.1.2 + Oracle Instant Client 10.2.04; DLL Load failed on import (Win/NT)

2010-08-12 Thread Alexander Gattin
ython -d (--debug IIRC) and then loading cx_Oracle manually (>>> import cx_Oracle). Usually it succeeds (sic!) but outputs a lot of symbol errors. // Problem with Oracle libs -- With best regards, xrgtn (+380501102966/+380636177128/xr...@jabber.kiev.ua) -- http://mail.python.org/mailman/listinfo/python-list

cx_Oracle 5.0.4 + Python 3.1.2 + Oracle Instant Client 10.2.04; DLL Load failed on import (Win/NT)

2010-08-11 Thread tormod
thout errors. I can install without errors. I fail to import. I'm using an NT box (os:Win7) Downloaded Oracle Instant Client 10.2.0.4 instantclient-basic-win32-10.2.0.4.zip --> extracted to C:\TEMP \ORAIC10\bin instantclient-sdk-win32-10.2.0.4.zip --> extracted to C:\TEMP \ORAIC10\sdk Do

Re: James Gosling the Creator of EMACS and JAVA - leaves ORACLE - But then reports started coming in of odd failures. Systems would crash strangely. We'd get crashes in applications. All applications

2010-07-22 Thread nanothermite911fbibustards
; crash strangely. We'd get crashes in applications. All applications. > Crashes in the kernel. > > Stallman took over his EMACS > Oracle's Larry Ellison, took over his SUN-JAVA > Steve Jobs has Apple > > A free competitor to Oracle must be there to limit this fie

Re: James Gosling the Creator of EMACS and JAVA - leaves ORACLE - But then reports started coming in of odd failures. Systems would crash strangely. We'd get crashes in applications. All applications

2010-07-22 Thread small Pox
; crash strangely. We'd get crashes in applications. All applications. > Crashes in the kernel. > > Stallman took over his EMACS > Oracle's Larry Ellison, took over his SUN-JAVA > Steve Jobs has Apple > > A free competitor to Oracle must be there to limit this fie

James Gosling the Creator of EMACS and JAVA - leaves ORACLE - But then reports started coming in of odd failures. Systems would crash strangely. We'd get crashes in applications. All applications. C

2010-07-22 Thread small Pox
plications. Crashes in the kernel. Stallman took over his EMACS Oracle's Larry Ellison, took over his SUN-JAVA Steve Jobs has Apple A free competitor to Oracle must be there to limit this fiend from taking over the world. There was VICIOUS propaganda against Microsoft's, Bill Gates. 1981

CONVICTED RAPIST of 13y old girl Semantha Geimer, ROMAN POLANSKY is RELEASED by a KANGAROO court in Switzerland, Re: Microsoft Hatred, Richard Matthew Stallman, Bill Gates, Larry Ellison, ORACLE

2010-07-16 Thread nanothermite911fbibustards
CONVICTED RAPIST, ROMAN POLANSKY is RELEASED by a KANGAROO court in Switzerland We all know that Germans are paying a big tribute to the polanskys and the swiss paid for the gold in the teeth. Israeli Professor: 'We Could Destroy All European Capitals' By Nadim Ladki 2-6-3 (IAP News) -- A

Microsoft Hatred, Richard Matthew Stallman, Bill Gates, Larry Ellison, ORACLE

2010-07-16 Thread nanothermite911fbibustards
allman hated unix, if not more thanMicrosoft, and > > thehatredof unix was a major reason he started GNU's Not Unix, by > > ORACLE by Larry Ellison is a more dangerous monopoly with boundless > GREED > > Bill Gates is a decent family man and a genuine PHILANTHROPIST &g

Excellent Oracle Apps Technical Consutant avaliable immediately for your client requriments

2010-04-09 Thread Haritha b
Dear Partners I have Raja Rao, Oracle Apps Technical consultant available immediately for your client requirements. Has worked for Tekelec, Hitachi Data Systems etc. He is in NC right now and is willing to relocate. Pl. let me know if you have any direct client positions for him. Location: NC

Re: Two questions ( Oracle and modules )

2009-12-07 Thread Terry Reedy
Gabor Urban wrote: Hi guys, 2. We have tp write a module that will be imported a couple of places. Though we must be sure, this module's initialization is performed only once. How can we implement this? I do not know what to google for. There are two ways to have one file executed twice

Re: Two questions ( Oracle and modules )

2009-12-07 Thread Michael Crute
On Mon, Dec 7, 2009 at 6:57 AM, Gabor Urban wrote: > 1. I have choice to introduce Python to my new employee. We are to > write and application that uses databases stored partially in Oracle > 10 and partially in Oracle 11. We have to execute standard SQL > commands and stored proced

Two questions ( Oracle and modules )

2009-12-07 Thread Gabor Urban
Hi guys, I have two questions. 1. I have choice to introduce Python to my new employee. We are to write and application that uses databases stored partially in Oracle 10 and partially in Oracle 11. We have to execute standard SQL commands and stored procedures as well. Which is best conection

Problems with cx_Oracle and Oracle 11.1 on Windows

2009-10-30 Thread ron.re...@gmail.com
Hi, I am trying to use cx_Oracle and SQLAlchemy with Oracle 11gR1 (11.1) on Windows Vista 64 bit. When I import cx_Oracle, I get this error: >>> import cx_Oracle Traceback (most recent call last): File "", line 1, in ImportError: DLL load failed: %1 is not a valid Win32 a

extract oracle-BLOBs to the file system (9.2.0.7): some docs not readable

2009-10-08 Thread Mark Dellon
Dear colleges, I read BLOBs from oracle database and write these in a loop to a the file system. Some documents (e.g.PDF) are not correct and I can't open these. Database size of these blobs is different to size on the file system. Which code I should use for readig blob from oracle dat

Re: urllib2 httplib.BadStatusLine exception while opening a page on an Oracle HTTP Server

2009-03-01 Thread ak
which website have you tested it on ? My tests were basically on https://www.orange.sk and http://www.orange.sk (the first fails, and not the second one, which led me to think there's a bug in python's SSL implementation for this particular web server) (Oracle) with python 2.5 On Fe

Re: urllib2 httplib.BadStatusLine exception while opening a page on an Oracle HTTP Server

2009-02-19 Thread O Peng
ac OS X, Python 2.5 yielded no problems. On Jan 19, 3:48 pm, ak wrote: > On Jan 19, 10:00 pm, ak wrote: > > > > > Hi everyone, > > > I have a problem with urllib2 on this particular url, hosted on an > > Oracle HTTP Server > > >http://www.orange.sk/eshop/

cx Oracle privileges

2009-02-19 Thread Slafs
Hello On my Debian server I'm using cx Oracle 5.1 (installation from a package made from rpm by alien) with Python 2.5.2 and Oracle Instant Client 10.2.0.4.0. Installation went well but simple test such as connecting to the db shows that only user root can make a connection to a database, bu

Re: urllib2 httplib.BadStatusLine exception while opening a page on an Oracle HTTP Server

2009-01-21 Thread ak
On Jan 20, 1:14 am, Steven D'Aprano wrote: > On Mon, 19 Jan 2009 13:00:44 -0800, ak wrote: > > Hi everyone, > > > I have a problem with urllib2 on this particular url, hosted on an > > Oracle HTTP Server > > >http://www.orange.sk/eshop/sk/portal/catalog.

Re: urllib2 httplib.BadStatusLine exception while opening a page on an Oracle HTTP Server

2009-01-19 Thread Steven D'Aprano
On Mon, 19 Jan 2009 13:00:44 -0800, ak wrote: > Hi everyone, > > I have a problem with urllib2 on this particular url, hosted on an > Oracle HTTP Server > > http://www.orange.sk/eshop/sk/portal/catalog.html? type=post&subtype=phone&null > > which gets 302 redir

Re: urllib2 httplib.BadStatusLine exception while opening a page on an Oracle HTTP Server

2009-01-19 Thread ak
On Jan 19, 10:00 pm, ak wrote: > Hi everyone, > > I have a problem with urllib2 on this particular url, hosted on an > Oracle HTTP Server > > http://www.orange.sk/eshop/sk/portal/catalog.html?type=post&subtype=p... > > which gets 302 redirected > tohttps://www.

urllib2 httplib.BadStatusLine exception while opening a page on an Oracle HTTP Server

2009-01-19 Thread ak
Hi everyone, I have a problem with urllib2 on this particular url, hosted on an Oracle HTTP Server http://www.orange.sk/eshop/sk/portal/catalog.html?type=post&subtype=phone&null which gets 302 redirected to https://www.orange.sk/eshop/sk/catalog/post/phones.html, after setting a cookie

Re: Accessing Oracle/Access database py2.4

2008-02-15 Thread M.-A. Lemburg
On 2008-02-15 17:06, Ahmed, Shakir wrote: > I was used import odbc to connect oracle or access table before, now I > switched to python 2.4 and is giving me error message. I appreciate any > help on that. The win32 odbc module is very old and no longer maintained. If you're

Re: Accessing Oracle/Access database py2.4

2008-02-15 Thread Steve Holden
Ahmed, Shakir wrote: > I was used import odbc to connect oracle or access table before, now I > switched to python 2.4 and is giving me error message. I appreciate any > help on that. > So this error message is a secret? One possibility is that you are trying to use a 2.3 exte

Accessing Oracle/Access database py2.4

2008-02-15 Thread Ahmed, Shakir
I was used import odbc to connect oracle or access table before, now I switched to python 2.4 and is giving me error message. I appreciate any help on that. Thanks sh -- http://mail.python.org/mailman/listinfo/python-list

Re: Writing Oracle Output to a File

2007-12-27 Thread Ralf Schönian
t_rectenwald schrieb: > Hello, > > I attempting to execute an Oracle query, and write the results to a > file in CSV format. To do so, I've done the following: > > import cx_Oracle > db = cx_Oracle.connect('user/[EMAIL PROTECTED]') > cursor

Re: Writing Oracle Output to a File

2007-12-27 Thread Ralf Schönian
Ralf Schönian schrieb: > t_rectenwald schrieb: >> Hello, >> >> I attempting to execute an Oracle query, and write the results to a >> file in CSV format. To do so, I've done the following: >> >> import cx_Oracle >> db = cx_Oracle.conne

Re: Writing Oracle Output to a File

2007-12-26 Thread t_rectenwald
lt;[EMAIL PROTECTED]> wrote: > > > > > Hello, > > > > > I attempting to execute an Oracle query, and write the results to a > > > > file in CSV format.  To do so, I've done the following: > > > > > import cx_Oracle > > > > d

Re: Writing Oracle Output to a File

2007-12-26 Thread t_rectenwald
On Dec 26, 12:06 pm, Paul Hankin <[EMAIL PROTECTED]> wrote: > On Dec 26, 4:51 pm, t_rectenwald <[EMAIL PROTECTED]> wrote: > > > > > > > On Dec 26, 10:36 am, t_rectenwald <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > I attempting

Re: Writing Oracle Output to a File

2007-12-26 Thread Paul Hankin
On Dec 26, 4:51 pm, t_rectenwald <[EMAIL PROTECTED]> wrote: > On Dec 26, 10:36 am, t_rectenwald <[EMAIL PROTECTED]> wrote: > > > > > Hello, > > > I attempting to execute an Oracle query, and write the results to a > > file in CSV format.  To do so, I&

Re: Writing Oracle Output to a File

2007-12-26 Thread t_rectenwald
On Dec 26, 10:36 am, t_rectenwald <[EMAIL PROTECTED]> wrote: > Hello, > > I attempting to execute an Oracle query, and write the results to a > file in CSV format.  To do so, I've done the following: > > import cx_Oracle > db = cx_Oracle.connect('user/[EM

Writing Oracle Output to a File

2007-12-26 Thread t_rectenwald
Hello, I attempting to execute an Oracle query, and write the results to a file in CSV format. To do so, I've done the following: import cx_Oracle db = cx_Oracle.connect('user/[EMAIL PROTECTED]') cursor = db.cursor() cursor.arraysize = 500 cursor.execute(sql) result = cursor.

req.in Unix/SQL/Oracle/JAVA - Work Location US

2007-09-08 Thread TechRecruit Consultants
Hi Greets! This is sandy,Working in TechRecruit Consultants,Chennai as Head Operaitons - Recruitment. Currently we have openning in Unix/SQL/Oracle/JAVA for ISO 9001:2000/ CMM LEVEL 5 Company in US. About the company:An ISO 9001:2000 /SEI-CMM Level 5 accreditation. Experience:4 - 7 Years

Re: Learn Oracle Database Administration in 10 Minutes

2007-07-06 Thread Stefan Behnel
[EMAIL PROTECTED] wrote: > Learn Oracle Database Administration in 10 Minutes. No kidding. Check > it yourself, > > http://www.takveen.com It already takes longer than 10 minutes to install, so I have the time to learn more than I find in that book before I even get to using it. B

Learn Oracle Database Administration in 10 Minutes

2007-07-06 Thread [EMAIL PROTECTED]
Learn Oracle Database Administration in 10 Minutes. No kidding. Check it yourself, http://www.takveen.com Only good analogy makes complex concepts simple! -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Oracle 10g odbc blob insertion problem

2007-03-22 Thread Godzilla
On Mar 23, 9:50 am, Steve Holden <[EMAIL PROTECTED]> wrote: > Godzilla wrote: > > On Mar 23, 4:38 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > >> On 22 Mar 2007 05:36:46 -0700, "Godzilla" <[EMAIL PROTECTED]> > >> declaimed the following in comp.lang.python: > > >>> Steve, I think I've tried w

Re: Python Oracle 10g odbc blob insertion problem

2007-03-22 Thread Steve Holden
Godzilla wrote: > On Mar 23, 4:38 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: >> On 22 Mar 2007 05:36:46 -0700, "Godzilla" <[EMAIL PROTECTED]> >> declaimed the following in comp.lang.python: >> >>> Steve, I think I've tried what you have suggested without any luck as >>> well... The statement

Re: Python Oracle 10g odbc blob insertion problem

2007-03-22 Thread Godzilla
On Mar 23, 4:38 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On 22 Mar 2007 05:36:46 -0700, "Godzilla" <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > > > Steve, I think I've tried what you have suggested without any luck as > > well... The statement works fine, but what

Re: Python Oracle 10g odbc blob insertion problem

2007-03-22 Thread Godzilla
On Mar 23, 4:38 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On 22 Mar 2007 05:36:46 -0700, "Godzilla" <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > > > Steve, I think I've tried what you have suggested without any luck as > > well... The statement works fine, but what

Re: Python Oracle 10g odbc blob insertion problem

2007-03-22 Thread Godzilla
On Mar 22, 10:56 pm, Steve Holden <[EMAIL PROTECTED]> wrote: > Godzilla wrote: > > Dear all, > > > I cannot find a solution for my problem with inserting a blob object > > (>4000 in length) into an ORACLE database via ODBC. > > > I have tried the two way

Re: Python Oracle 10g odbc blob insertion problem

2007-03-22 Thread Paul Boddie
On 22 Mar, 10:21, "Godzilla" <[EMAIL PROTECTED]> wrote: > > I cannot find a solution for my problem with inserting a blob object > (>4000 in length) into an ORACLE database via ODBC. This brings back "happy" memories with Oracle 9i and JDBC. > I have

Re: Python Oracle 10g odbc blob insertion problem

2007-03-22 Thread Steve Holden
Godzilla wrote: > Dear all, > > I cannot find a solution for my problem with inserting a blob object > (>4000 in length) into an ORACLE database via ODBC. > > > I have tried the two ways of inserting the blob object (a zip file): > > > 1) > fp = op

Re: Python Oracle 10g odbc blob insertion problem

2007-03-22 Thread Steve Holden
Godzilla wrote: > Dear all, > > I cannot find a solution for my problem with inserting a blob object > (>4000 in length) into an ORACLE database via ODBC. > > > I have tried the two ways of inserting the blob object (a zip file): > > > 1) > fp = op

Python Oracle 10g odbc blob insertion problem

2007-03-22 Thread Godzilla
Dear all, I cannot find a solution for my problem with inserting a blob object (>4000 in length) into an ORACLE database via ODBC. I have tried the two ways of inserting the blob object (a zip file): 1) fp = open("c:/test/test.zip", "r+b") data = fp.read() s = odbc.

Re: Python & Oracle

2007-03-14 Thread Steve Holden
Facundo Batista wrote: > Hi! I need to connect to Oracle. > > I found this binding, > > http://www.zope.org/Members/matt/dco2 > > that is the recommended in the Python page. > > But that page seems a bit confuse to me. In the upper right corner says > that th

Re: Python & Oracle

2007-03-14 Thread projecktzero
On Mar 14, 12:01 pm, Facundo Batista <[EMAIL PROTECTED]> wrote: > Hi! I need to connect to Oracle. > > I found this binding, > > http://www.zope.org/Members/matt/dco2 > > that is the recommended in the Python page. > > But that page seems a bit confuse to me. In t

Re: Python & Oracle

2007-03-14 Thread Jean-Philippe Durand
So do I ! 2007/3/14, Josh Bloom <[EMAIL PROTECTED]>: > I would suggest using cx_Oracle as I have had good experience with it. > http://www.cxtools.net/default.aspx?nav=cxorlb > > -Josh > > > On 3/14/07, Facundo Batista <[EMAIL PROTECTED]> wrote: > > Hi!

Re: Python & Oracle

2007-03-14 Thread Josh Bloom
I would suggest using cx_Oracle as I have had good experience with it. http://www.cxtools.net/default.aspx?nav=cxorlb -Josh On 3/14/07, Facundo Batista <[EMAIL PROTECTED]> wrote: Hi! I need to connect to Oracle. I found this binding, http://www.zope.org/Members/matt/dco2 that

Python & Oracle

2007-03-14 Thread Facundo Batista
Hi! I need to connect to Oracle. I found this binding, http://www.zope.org/Members/matt/dco2 that is the recommended in the Python page. But that page seems a bit confuse to me. In the upper right corner says that the last release is PreRelease 1, from 2001-11-15. At the bottom, however, it

Re: SQLAlchemy and Oracle Functions?

2007-03-08 Thread Greg Copeland
On 8 Mar, 15:35, "Giles Brown" <[EMAIL PROTECTED]> wrote: > On 8 Mar, 22:19, "Greg Copeland" <[EMAIL PROTECTED]> wrote: > > > I'm using SQLAlchemy and have a need to call an Oracle function; which > > is not the same as a stored proced

Re: SQLAlchemy and Oracle Functions?

2007-03-08 Thread Greg Copeland
On Mar 8, 3:35 pm, "Giles Brown" <[EMAIL PROTECTED]> wrote: http://www.sqlalchemy.org/docs/sqlconstruction.myt#sql_whereclause_fu... > SQLAlchemy has its own google group > > http://groups.google.co.uk/group/sqlalchemy > > You could try asking there too. > > Giles Very nice. That exactly answered

Re: SQLAlchemy and Oracle Functions?

2007-03-08 Thread Giles Brown
On 8 Mar, 22:19, "Greg Copeland" <[EMAIL PROTECTED]> wrote: > I'm using SQLAlchemy and have a need to call an Oracle function; which > is not the same as a stored procedure. Can this be done directory or > indirectly with SQLAlchemy? If so, can someone please prov

Re: SQLAlchemy and Oracle Functions?

2007-03-08 Thread Sick Monkey
Helpful Links http://sourceforge.net/projects/cx-oracle http://www.python.net/crew/atuining/cx_Oracle/html/cursorobj.html == Example: Replace the data types as appropriate. v_Vars = v_Cursor.setinputsizes(p_Result = cx_Oracle.NUMBER) v_Cursor.execute(""

SQLAlchemy and Oracle Functions?

2007-03-08 Thread Greg Copeland
I'm using SQLAlchemy and have a need to call an Oracle function; which is not the same as a stored procedure. Can this be done directory or indirectly with SQLAlchemy? If so, can someone please provide an example? If not, how do I obtain the raw cx_Oracle cursor so I can use callfunc dir

SQLAlchemy and Oracle Functions?

2007-03-08 Thread Greg Copeland
I have a need to call an Oracle function, which is not the same thing as a stored procedure. Can SQLAlchemy do this directly? Indirectly? If so, an example would be appreciated. If not, how do I obtain the raw cx_Oracle cursor so I can use that directly? Thanks, Greg -- http

Re: Oracle database export

2006-10-05 Thread Waldemar Osuch
On Oct 5, 9:05 am, Tor Erik Soenvisen <[EMAIL PROTECTED]> wrote: > Hi, > > I need to export an Oracle database to a DDL-formated file. On the Web, I > found a Python script that did exactly this for a MS Access database, but > not one for Oracle databases. > > Does an

Re: Oracle database export

2006-10-05 Thread [EMAIL PROTECTED]
Tor Erik Soenvisen wrote: > Hi, > > I need to export an Oracle database to a DDL-formated file. On the Web, I > found a Python script that did exactly this for a MS Access database, but > not one for Oracle databases. How does the Python script connect to the MS Access database?

Re: Oracle database export

2006-10-05 Thread Diez B. Roggisch
Tor Erik Soenvisen wrote: > Hi, > > I need to export an Oracle database to a DDL-formated file. On the Web, I > found a Python script that did exactly this for a MS Access database, but > not one for Oracle databases. > > Does anyone know of such a tool or Python script

Oracle database export

2006-10-05 Thread Tor Erik Soenvisen
Hi, I need to export an Oracle database to a DDL-formated file. On the Web, I found a Python script that did exactly this for a MS Access database, but not one for Oracle databases. Does anyone know of such a tool or Python script. regards tores -- http://mail.python.org/mailman/listinfo

Pure Python Oracle module

2006-08-22 Thread Ellinghaus, Lance
Title: Pure Python Oracle module Does anyone know of a pure Python module for Oracle similar to Java's pure Oracle module? Thank you! Lance Ellinghaus -- http://mail.python.org/mailman/listinfo/python-list

bind invalid when execute oracle sql statement.

2006-08-06 Thread wqhflp
st convert it into a number. But the problem is if we use float to convert a string like '0.1' will be translated into 0.10001, which is invalid for oracle type NUMBER(5,4). How to resolve the problem? -- http://mail.python.org/mailman/listinfo/python-list

Oracle DBI Module? Recommendations

2006-07-04 Thread cdecarlo
Hello, I'm planning on starting some database work on an Oracle 9i database, any suggestions on which module I should use. >From the python.org website I see that the options are: - DCOracle2 - cx_Oracle - mxODBC Any help would be appreciated but please, support your answers

Re: connect not possible to Oracle Datenbank as sysdba?

2006-07-03 Thread Gerhard Häring
Cihal Josef wrote: > Hi, > > how can I connect to oracle database as SYSDBA > > as usually: "sqlplus anc/psw as sysdba" > > It is a parsing problem? (blanks,etc.?) > > or it is not implmented in DCOracle2? [...] From a quick glance at the code, it doe

connect not possible to Oracle Datenbank as sysdba?

2006-07-03 Thread Cihal Josef
  Hi,   how can I connect to oracle database as SYSDBA   as usually: "sqlplus anc/psw as sysdba"   It is a parsing problem? (blanks,etc.?)   or it is not implmented in DCOracle2?   >DCOracle.Connect('user/psw as sysdba') -> NOK   normal (without sysdba clause)

Can't connect to Oracle DB via DCOracle2 as sysdba

2006-06-30 Thread Cihal Josef
Hi,   how can I connect please to DB Oracle9i via DCOracle.Connect as SYSDBA?   >>> dbc = DCOracle2.connect(user='', password= ' as sysdba' )u,p2:  sys,'pTraceback (most recent call last):  File "", line 1, in ?  File "C:\Program Files\Python21\lib\DCOracle2\DCOracle2\DCOracle2.py", line 1

Re: Oracle Data Access in Python

2006-05-31 Thread Bill Scherer
A.M wrote: > > "Bill Scherer" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > A.M wrote: > > > >> Hi, > >> > >> > >> > >> I am familiar with Perl's DBI programming. > >> > >

Re: Oracle Data Access in Python

2006-05-31 Thread A.M
"Bill Scherer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > A.M wrote: > >> Hi, >> >> >> >> I am familiar with Perl's DBI programming. >> >> >> >> In Python, do we access to Oracle by using DB

Re: Oracle Data Access in Python

2006-05-31 Thread Bill Scherer
A.M wrote: > Hi, > > > > I am familiar with Perl's DBI programming. > > > > In Python, do we access to Oracle by using DBI? > No. > Is Oracle DBD driver included with Python distributions? > No. > What is the most common strategy for accessing to Ora

Oracle Data Access in Python

2006-05-31 Thread A.M
Hi, I am familiar with Perl's DBI programming. In Python, do we access to Oracle by using DBI? Is Oracle DBD driver included with Python distributions? What is the most common strategy for accessing to Oracle data through Python? Any help would be appreciated, Alan --

Python+GNU/Linux+Oracle 10 g Express Edition+cx_Oracle

2006-04-07 Thread [EMAIL PROTECTED]
Hi!! I'd like to install Oracle 10 g express edition over Ubuntu to use with Python 2.4. I have installed Ubuntu, Python 2.4 and Oracle database. I think that I have installed correctly cx_Oracle because I have cx_Oracle.so in /usr/share/python2.4/site-packages/ directory. My enviro

Re: Problem with dbi, odbc module and Oracle 9.2 - suffixed "L" with number data type

2006-03-07 Thread dananrg
Thanks Andrew. > I've been bugging ESRI about upgrading, and I'm sure others have too. The beta of ArcGIS Desktop 9.2 ships with Python 2.4, so I imagine the release of ArcGIS Desktop 9.2 this summer will also ship with Python 2.4. I've read threads recently on the geoprocessing / scripting suppo

Re: Best python module for Oracle, but portable to other RDBMSes

2006-03-03 Thread dananrg
>[EMAIL PROTECTED] wrote: > dananrg> Are you saying I'm getting the "L" as an artifact of printing? > > No, you're getting the "L" because you're printing a long integer. If you > execute > > x = 872L > y = 872 > > at a Python prompt, x will be a long integer and y will be an integer. Lon

Re: Best python module for Oracle, but portable to other RDBMSes

2006-03-03 Thread Magnus Lycka
[EMAIL PROTECTED] wrote: > # Print new list > print recordList > > [872L, 'ACTIVE', , >>>00EA1428>, None, '1.0.0.0', None, None, None] Read the Python library manual chapter 2. Read all of it, it's all very useful information, but take a particular look at str() and repr(). All Python object

Re: Problem with dbi, odbc module and Oracle 9.2 - suffixed "L" with number data type

2006-03-02 Thread Andrew MacIntyre
[posted & mailed] [EMAIL PROTECTED] wrote: > The only issue I've had so far is retrieving data from Oracle when an > integer has been defined like: > >number(p)[same thing as number(p,0) evidently] > > This is from a database I didn't design and can

  1   2   >