Oracle Report6i - Export to Excel Option/Button - oracle

Please guide me that how to enable option/button on oracle report 6i to export it into excel format
Waiting for your response
BR
Javed Akram

You can't, as far as I can tell. Reports 6i don't have option of saving result into native MS Excel format.
The closest thing you could do is to set desformat to delimited:
Means that the report output is sent to a file that can be read by standard spreadsheet utilities, such as Microsoft Excel. If you do not choose a delimiter, then the default delimiter is a TAB.
(see documentation)

Related

How to added the SQL query used generate the excel file in DATAGRIP IDE?

I'm a SQL developer user, usually, I extract data from Oracle database and store them into excel files on a daily basis, the nice thing about Oracle's SQL Developer when exporting the file into excel file, you get two worksheets one for your data, and another worksheet contain the SQL query that used to generate this report.
Now I'm using DATAGRIP IDE from JetBrains, I noticed when I export the file into excel sheet I only get the data and I don't the SQL query that I used to generate this excel file.
is there any way to add the SQL query to the exported file?
There is no possibility to include the SQL tab automatically. But every grid has it's own "View Query" option where you can see and copy the needed SQL.
To have this tab, please create a feature request here: https://youtrack.jetbrains.com/issues/DBE

Exporting to CSV (using built in tools) - incorrect characters

When I export data from a screen using built-in show-csv-button="true", the application prints incorrect characters on places of special characters (the EUR sign, accent marks). Can I fix it by changing character set?
This seems to be an issue of managing the way MS Excel loads CSV. Opening it directly from browser downloads causes the problem. When I import the file in a standard way, letting Excel check the character set, data is OK.
Using Excel's import utility, it recognizes the UTF-8.
When opening from OS, 1250: Central European is used.

In DBF, "Ñ" character is showed as "¥"

I open a DBF file in Visual FoxPro and it shows "Ñ" character as "¥". I haven't created that DBF, I just open it and read it.
My question is: Is there any way to show those "¥" characters correctly in FoxPro? Or does it mean that this DBF file was created wrongly?
You probably need to know which encoding was used when the file was saved, depending on the version number of the file. Also the MSDN has a dedicated page about this topic. https://msdn.microsoft.com/en-US/library/5b10d8b6(v=vs.80).aspx
In specific the first paragraph might be for your interest:
When you create .dbf files, Visual FoxPro automatically gives them
code page marks so that you can tell which code pages they use.
However, if you use .dbf files from previous versions of FoxPro, they
might not have code page marks. You can determine whether a .dbf file
has a code page mark by using the CPDBF( ) function after opening the
file or by having Visual FoxPro check when you open the file.
You need to set the proper code page of your DBF file.
To know it, open the file with DBF Commander Pro, click 'Tools -> Set Codepage', then try to set the proper encoding by choosing various encodings from the list (leave 'Preview' check box turned on):
The program has 30-day fully functional trial period, so you can do your task at no charge.

Exporting data from Oracle query to excel using query

I am having a select query, the result of which i want to be exported in a excel file using Oracle query and not any in-built operations.
I am using TOAD for Oracle. I am not sure if this is possible or not.
Any help would be of great use.
Thanks in Advance!
In Toad, it's pretty straightforward:
Run your query
click the "Export dataset" button
change export format to "Excel File"
enter a filename
Instead of pushing it into Excel, why not "pull" it into Excel? See get external data. An added bonus is that you can add this to your windows task scheduler that will update it for you.
http://office.microsoft.com/en-us/excel-help/connect-to-import-external-data-HP010089898.aspx

export utf-8 data to text file with oracle sql developer

I need to export urf-8 data to a text file in form of insert statement. I've tried Oracle SQL developer's export data tool. But it use ansi encoding to export data to txt file so utf-8 characters turn to "?" mark. I wonder how whether it's possible to use utf-8 encoding to export data ?
Thank you.
You can export data in UTF-8 with Sql Developer. Make sure your client NLS parameters are setup correctly. If you're on windows these settings are in the registry. Make sure also that in the settings panel of Sql Developer you have selected UTF-8 as the encoding character set.
See Also
Oracle Unicode Spooling

Resources