Home » Developer & Programmer » Forms » Export Data from SQL Plus To MS Excel (merged) (Oracle 9I database and excel)
Export Data from SQL Plus To MS Excel (merged) [message #482363] Thu, 11 November 2010 03:04 Go to next message
NaeemAlsaadi
Messages: 20
Registered: November 2010
Location: Oman
Junior Member
hi

i have problem with export data from SQL to excel format
my question do i can export directly data from sql to excel or i have to write sql statement in form report and from form i can export it to excel

please help
Re: Export Data from SQL Plus To MS Excel (merged) [message #482374 is a reply to message #482363] Thu, 11 November 2010 03:45 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
NaeemAlsaadi wrote on Thu, 11 November 2010 09:04
my question do i can export directly data from sql to excel or


If you mean sqlplus there as your topic title implies then say so. sqlplus is not the same thing as sql.

set colsep to comma(,)
and generate a csv file using spool.
Re: Export Data from SQL Plus To MS Excel (merged) [message #482386 is a reply to message #482374] Thu, 11 November 2010 04:05 Go to previous messageGo to next message
NaeemAlsaadi
Messages: 20
Registered: November 2010
Location: Oman
Junior Member
thank for quick replay

i do that

but are there any way to export it from form builder to excel -
actuall i want end user to use interface to generate excel report
Re: Export Data from SQL Plus To MS Excel (merged) [message #482669 is a reply to message #482386] Mon, 15 November 2010 04:49 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
Export what exactly?
Re: Export Data from SQL Plus To MS Excel (merged) [message #483350 is a reply to message #482669] Sun, 21 November 2010 01:27 Go to previous messageGo to next message
NaeemAlsaadi
Messages: 20
Registered: November 2010
Location: Oman
Junior Member
hi
export data from my database (SQL statement) from Form Builder to excel
Re: Export Data from SQL Plus To MS Excel (merged) [message #483354 is a reply to message #483350] Sun, 21 November 2010 03:17 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
You can probably use webutil - I've never used it but if you search this forum and the web generally you should find examples. If you get stuck post back here - there are others on this site who have used it.
icon14.gif  Re: Export Data from SQL Plus To MS Excel (merged) [message #484944 is a reply to message #482363] Fri, 03 December 2010 21:49 Go to previous messageGo to next message
johnxjean
Messages: 1
Registered: December 2010
Location: Toluca, Mexico
Junior Member
Maybe you can try with this example:

http:
/
/
tips-oracle-mx.blogspot.com/
2010/12/sqlplus-con-salida-xls.html
Re: Export Data from SQL Plus To MS Excel (merged) [message #484946 is a reply to message #484944] Fri, 03 December 2010 22:06 Go to previous message
NaeemAlsaadi
Messages: 20
Registered: November 2010
Location: Oman
Junior Member
thanks all i solve my problem using OLE2 packages
Previous Topic: D2K:Pop up at application start up
Next Topic: Logon form
Goto Forum:
  


Current Time: Thu Sep 19 13:53:54 CDT 2024