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 = db.cursor() > cursor.arraysize = 500 > cursor.execute

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.connect('user/[EMAIL PROTECTED]') >> cursor = db.cursor() >> cursor.

Re: Writing Oracle Output to a File

2007-12-26 Thread t_rectenwald
On Dec 26, 12:10 pm, t_rectenwald <[EMAIL PROTECTED]> wrote: > 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 atte

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 to execute an Oracle query, and write the results to a > > > file

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've done the following: > > > import cx_Oracle >

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/[EMAIL PROTECTED]') > cursor = db.cursor() > cu

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.fetchall() The abov