Quey result into Excel

Is there a way I can have my query results go directly into Excel? I am using Oracle 9i and 10g.

Alternatviely, you can also use an ODBC connection to query Oracle directly though Excel.
In Excel, go to the "Data" menu, select the "Import External Data" submenu, and then the "New Database Query..." item. I run a few reports this way.
Good luck,
Ian.

Similar Messages

  • Http 404 error exporting query result into Excel.

    Hello. I'm getting an Http 404 The webpage cannot be found" error when trying to export any APEX application's query results into Excel (Application Express 3.2.1.00.10). This was working fine before. Nothing changed with our APEX application. I've been always using I.E. Version 7.0.5730.11 with no problems. I've reset the I.E. defaults and still the problem exists. I've downloaded Mozilla Firefox and the problem does not happen. However, I would like to know why my I.E. still gets this error? Any feedback or suggestions would greatly be appreciated. Thanks for your time.

    My EI settings are as follows:
    Tools -> Internet Options -> Security
    All Three: Internet, Local Intrarnet, and Trusted Sites ... at Custom Level have the following settings:
    Downloads:
    Automatic prompting for file downloads = Enable
    File download = Enable
    Font download = Enable
    Problem still exists.
    Thanks for the help.... any additional feedback or suggestions would greatly be appreciated. Thanks for your time.

  • Fetching large results into excel

    I would like to fetch 50,000 records from an oracle database and store it as an ascii file so that it can be viewed through an excel. The request will be initiated from a client�s computer through J2ee web application.
    1. What is the best way to fetch the 50,000 records and store in an ASCII/Excel file?
    2. Is there a potential performance issue in writing into local PC/Laptop?
    Thankyou,
    Ramran

    Ramran wrote:
    I would like to fetch 50,000 records from an oracle database and store it as an ascii file so that it can be viewed through an excel. Who in their right mind would want to view 50K records on the web?
    The request will be initiated from a client’s computer through J2ee web application. What's the use case? Here's one:
    1. User specifies WHERE clause to specify which records they want
    2. Application queries database and sends result to browser using Excel MIME type
    3. User now has the option of saving the browser as an Excel file to their local machine
    1. What is the best way to fetch the 50,000 records and store in an ASCII/Excel file?"Best"? You'll use JDBC for the fetch, of course. I'd use Andy Khan's JExcel and Spring's JExcelView to render in the browser.
    2. Is there a potential performance issue in writing into local PC/Laptop?Sure. Depending on how large each record is (X bytes/record), you'll have 50000X bytes consumed on the server and in the browser for each request. How many simultaneous users do you plan on having? Nevermind the network latency required to fetch the data and stream it to the browser.
    %

  • Can query output the result into excel with a fix format?

    Hi Expert,
    My user giving me a requirement for new reports. They do not want the standard SAP report format but they want the result to be populate into a excel template with their own fix format. Can BW generate the report like this? Or it is out of the functionality of BW. FYI, I'm using SAP BI 7.0.
    Thanks!
    Regards.

    Hi Ang,
    You have a way to do through the Bex Analyzer.
    Please get the excel template in that please use a analysis design item in the place of the query result display.
    Then after adding the analysis item then please assign a DP (data provider) with the query you have created.
    After that please save the work book in your roles or fav's.
    Note: some important settings has to be changed for the workbook.
    In workbook settings, tick mark the property "REFRESH upon open of work book"
    With Regards,
    Ravi

  • Select query results into excel file

    Hi,
    I want to put the results of a select query in an csv file(tab separated columns). I dont want to spool command for this . Is there any other method to do this.
    Thanks

    To get data from oracle to excel to use odbc driver to achive this.

  • Export PCUI search result to Excel over Context Menu / right mousebutton

    Hello
    I am using CRM 5.0 and PCUI
    I want to export the search result into Excel, on Servicetickets (BUS2000116). When i press the right mousebutton on the searchresult, I get the option Export to Microsoft Excel.
    When i choose this option, Excel opens and i get the error message "Unable to open ......./mainDH.do. The Internet site reports that a connection was established but the data is not available."
    and the cell A1 says ExternalData_1.
    In Thread Export PCUI search result to Excel, Manuel Rodriguez told "Standard Export to excel is avaible in PCUI 5.0 and dont works in PCUI 4.0.". But I still can't make it work.
    Anybody an Idea how I can do it work ???
    Best regards
    Thomas

    Hi Thomas,
    you should not use the right click and Export to Excel. I think this is a functionality of Internet Explorer for HTML Tabes. Using that functionality you will only get the actual table exported. Do you see the Button "Download" in the Toolbar? That's the export to Excel functionality introduced in CRM 5.0.
    Regards
    Gregor

  • Export result of ssas query result to excel file

    Hi All,
    I have browsed a SSAS cube. I want to export result of SSAS cube into excel file.
    Kindly give your input.
    Thanks,
    Vivek singh

    Hi,
    I do not know whether there is a direct solution but there is an indirect way of doing it. I always follow this method if I ever want to get MDX results into Excel.
    1 - Install the DAX Studio (I know you want MDX results, so do not get confused by looking at the word DAX. Continue reading). You can download it from the following location.
    http://www.sqlbi.com/tools/dax-studio/
    2 - Once you install DAX Studio, Go to the Add-Ins ribbon. Click on DAX Studio. 
    3 - There is an option "Tabular Server" and there is a drop-down list where you can enter the SSAS (MD CUBE Server) server name. Enter the server name manually. If you have multiple SSAS Databases and if you are interested in a specific SSAS database
    enter "Initial Catalog=Your SSAS Database Name" in Additional Options section and Click Connect. You can successfully connect to the SSAS Server now.
    Here are the details described so far in pictorial representation.
    4 - Enter your MDX manually and execute the code via DAX studio and you will get your results right-away in Excel.
    Now, isn't that an elegant way of getting MDX results into Excel :) ? Besides Excel's Pivot Table option, I do not know whether there are any alternate solutions to this but wait for other Pros' comments as well.
     Best regards...
    Chandima Lakmal Fonseka

  • How can I export the query result into access(*.mdb) file?

    Dear all:
    I want to export the query result displayed in jsp into excel file
    and access file. And I have exported the result into excel format successfully, only one line should be added in the head of Jsp:
    <%@ page contentType="application/vnd.ms-excel; charset=gb2312" %>
    But how can I export it in access(*.mdb) file? I have replaced "excel"
    with "access". But it can't achive my goal.
    What should I do to achieve my goal?
    Thanks!

    The only reason your Excel export works is that Excel knows how to interpret comma separated values as an input file format. Access has no such beast.
    If you absolutely must provide info in an mdb, one solution would be to create an ODBC datasource pointing to an empty mdb, then push data into it using the jdbc:odbc bridge, then make a copy of the file and stream it down to the browser. You may run into some ugly file locking items here - set the ODBC connection so it is not shared, and that might help.
    This one is going to be ugly.
    I suppose another approach would be to write a simple VB applicatin that uses automation to create an MDB, then stream that file down to the browser from your servlet. That would almost certainly be faster than the ODBC approach.
    - K

  • Download greater than 255 characters from alv into excel sheet

    Hi,
    I have an ALV grid display report where the last field contains close to 600 characters of text.
    When I use the Export -> Local File -> Spreadsheet option and save it in an excel sheet, only first 255 characters are getting downloaded into excelsheet and rest is not gettting downloaded.
    Solution I have is: Keep a button on the screen. If that button is clicked, use GUI_DOWNLOAD FM  and the entire text (all 600 chars) gets downloaded.
    Is there any other solution to the above problem?
    I tried downloading the alv report into XML format and opened as an excel document, but even then only first 255 characters are apearing in excel cell.
    The domain has length 2048 chars for the final internal table in alv, so there is no problem with data element or domain.
    OIn debugging mode, I am able to see all the 600 chars in the final internal table before alv display.
    It looks like there is a constraint in alv that is can display only 255 characters in a cell.
    ALso, I tried converting the grid display to list display and then download into excel , but the result is same.
    Please help.

    please search first:
    http://www.sdn.sap.com/irj/scn/advancedsearch;jsessionid=%28J2EE3417400%29ID0634234250DB10563517489488469157End?query=downloadmorethan255char

  • How to convert the customized report sales price list into excel sheet

    hi friends,
    i am faceing the probulem in VK13 report is not conveting into excel sheet, then i developed the one customized report,
    in this report i am using the tables are a506, konp,and makt, result is coming and it converted into excel sheet in my systam. when i was clik on the excel sheet icon it comming  excel format it working fine and save it. But in menubar list>export> localfile and select redio button spredsheet this navigation only it print the three colums not coming the total colums,
    same program test in another system it not converted into excel sheet, when i am click on excel sheet icon  it's given the message is 'VIEW CAN NOT BE SWITCHED, PRODUCT NOT INSTALLED OR INTEGRATION NOT ACTIVE'. but i giving the print privew it giving the three colums only,.
    In program i am using regular using reuse_alv_grid_display FM only.
    sorry this qusition is repeted becuse before that one mising some text.
    any one plz help me.
    thanks
    raj

    nice answer

  • 500 internal server error while Export wedbdynpro content into Excel.

    Hi Experts,
    my requirement is export webdynpro content into excel sheet, so for this what i have did is
    First step:
    ) created an Extneral library DC
    2) imported the JARs to the libraries folder of the External Library DC project
    3) Right-click on each of the JARs imported to the project and added them to the public part.
    Second step:
    1) Createed a new Reuse Web Dynpro DC
    2) Created a new public part, selecting the "Can be packaged into other build results" option
    3) extrcted the full content (folders and class files) to root folder
    4) Imported the folders and files to the src/packages folder
    5)binded the attributes, created 3 methods and writen the code for those methods.
    Third Step:
    1) created one more EXPORT EXCEL DC
    2) ADDED LIB jar dc and Reuse DC IN used dc's
    3) created usedwebdynpo component and binded attributes to Table VIEW and writen the code for exposing table values.
    After this build and deployed i am getting clasnot found error
    so what i have did now is
    Fourth step:
    1)Created "J2EE Library DC"
    2) Refered "External Library DC" into J2EE Library DC.
    3) Deployed "J2EE Library DC"
    4) Refered this one in my Web Dynpro DC by giving Library Reference.
    now when i deploy and run what happend i am getting
    500 Internal Server Error SAP J2EE Engine/7.01 
    Application error occurred during request processing.
    Details:   com.sap.tc.webdynpro.services.sal.core.DispatcherException: Failed to start deployable object sap.com/export_file_excel_7.
    Exception id: [00215E78C4C0006D00000AD9000E00F00004887F642A32FE]
    Any one can tell what could be the problem.

    Thanks for sharing the solution.

  • Error while exporting data into Excel Sheet

    Hi All,
    I have created a VO which is based on Query(Not based on EO) and the Query is as follows:
    select f.user_name ,
    f.description ,
    a.currency_code,
    a.amount_to ,
    a.amount_from
    from seacds.ar_approval_user_limits_nv a , seacds.fnd_user_nv f
    where f.user_id = a.user_id
    and a.document_type = 'CM'
    order by 2;
    Based on this VO I have created a search page which will search and returns data from the table and finally standard export button will export the data into excel sheet.
    In this am searching the data based on above 5 attributes. Without entering anything in the messageTextInput if i am clicking GO button, it is returning all the data into the table region. After this if i click on Export Button, data are getting exported into Excel Sheet. It is fine.
    But if i am searching the data by entering any value in any of the messageTextInput, it is returning data. But if i am clicking the Export Button then it is throwing the following error:
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select f.user_name ,
    f.description ,
    a.currency_code,
    a.amount_to ,
    a.amount_from
    from seacds.ar_approval_user_limits_nv a , seacds.fnd_user_nv f
    where f.user_id = a.user_id
    and a.document_type = 'CM'
    order by 2) QRSLT WHERE (( UPPER(CURRENCY_CODE) like UPPER(:1) AND (CURRENCY_CODE like :2 OR CURRENCY_CODE like :3 OR CURRENCY_CODE like :4 OR CURRENCY_CODE like :5))) ORDER BY DESCRIPTION asc
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.sql.SQLException: Invalid column type
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:240)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:7895)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:7572)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8183)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:8206)
    Kindly give me any idea to clear this error.
    Thanks and Regards,
    Myvizhi

    Hi Myvizhi ,
    Did you try running the query from back end that got generated in the error trace ? see if that query is returning desired
    output .
    Also would like to know if you are using oracle standard search mode i.e result based search / auto customization search ?
    --Keerthi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Downloading information from a filled from into excel

    I have created a form using Adobe LiveCycle. I have added an e-mail submit button. The form looks great; however, when I test submitting  the file, I get a .xml document. When I try to get the results into a single excel file using the "merge data files into spreadsheets" option, my excel file has only one cell with the name of the file .xml instead of showing every field with its answer. I tried this before and it worked, and I'm not sure what changed in my form that is not allowing me to do it anymore. I know I can distribute the form, and that will solve it, but I just wanted to know what I did in the form that is not letting me do it anymore.
    Thanks for reading my question,

    If your using a Macintosh computer then you can not do it other than  in Acrobat 9, go to advanced menu then  mouse down to extend Reader  Features in Reader ...
    You want the ability to filout and save forms.
    Then you emai to not more than 500 people. then you read the pdfs and manually key or save as fdf file and  can extract the information from the fdf files.
    If your a PC user you have the ability to use a system called liveCycle designer. But you need mucho bucks to subscribe to a special server Aodobe has for such purpose.
    If you need more info. go back to the main form page and click on button for Acrobat LiveCycle the choose appropriate news group.

  • Problem in saving the spool list into Excel file.

    Hello Friends,
                         I run a background process for a report, and storing the resulting list into Excel format file. But the result is column values jumbled, it means columns values are not sitting in the right place in excel sheet.
    I also tried saving as unconverted text file and then open it using excel still the same result.
    Cheers,
    Senthil

    Hi,
      Use the FM 'EXCEL_OLE_STANDARD_DAT'.
    In this FM populate the tables parameter 'fieldnames' to get each cloumn below the heading correctly.

  • Mapping query result to excel sheet

    Hi Experts,
    i have a requirement where in i need to map the result into particular cellls of the excel sheet, because the excel sheet acts as front end which has graphs and by just putting the result in particular cells of excel the graph is automatically generated, so is there any way where i can map the result cells into particulat cells in excel?
    Thank you.

    Hi Shetty,
    You might have stopped reading this thread since you have the answer you need for now.  From experience, let me tell you what might happen next.
    If the query definition is ever changed ... say, a new characteristic is added because a different user has a slightly different need ... the result table will move down by a few rows and your equation no longer works.
    If you think this might happen, let me tell you a very easy way to get around it.
    1.  Name the range(s) you will use.  If the first result is in cell B31 on Sheet1, then go to cell B31 on Sheet1 and Select Insert>>Name>>Define.  Call it something you will remember, like "LastMonthSales" (no spaces, but underline is OK)
    2. use the range name in your formula.  This happens automatically, in fact.  If you press = then click on cell B31, Excel will automatically use the range name instead of the range address.  Excel LIKES names.
    3. now, go to the Visual Basic Editor (Tools >> Macro >> Visual Basic Editor; or, Alt+F11).  In your workbook, there should be a subroutine as follows:
    Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
    If you do not find it, add it.  This probably also means that you are using Excel 2002 or later and have not set your Macro security to "trust access to Visual Basic Project"; so, change that security setting (Tools >> Options >> Security >> Macro Settings).
    The visual basic code is very simple.  For each result that you need to map you will want one line of code like this one:
    resultArea.Cells(4, 2).Name = "LastMonthSales"
    The Cells(4, 2) are counted from the top left of the result table.  So, in this case if B31 = Cells(4,2), then the top left of my result table must have been in cell A28 in Excel.
    This subroutine will be run automatically every time that the query is refreshed.  So, if the result table moves, the names will move with it.  One less thing to worry about.
    If you do not think you need to do this today, don't!  No sense in doing work that is not necessary.  But, save this.  I suspect that some day you will need it.
    - Pete

Maybe you are looking for

  • How to set parameter id for a field, which is in disable mode ?

    Hi, I Have to set parameter id for field ledger for transaction FAGLB03, which is in disable mode, i have to set it through program,please let me know how to set it. Thanks.

  • SSAS Tabular in DirectQuery - What are the workarounds for formula limitations?

    Hello, I need to create an SSAS Tabular model against the database of a live, real-time, line of business transactional system (i.e. a CRM). The business requirement behind it is that we need to create some complex reports against live data, and our

  • Tiger on an iBook G3?

    I have an iBook G3 [600 MHz PowerPC G3 Processor and 384 MB SDRAM of memeory] I do have built in firewire as well so if I install mac os tiger [10.4] will it run smoothly? thanks for the help in advance! happy Turkey Day!

  • Nimbuzz installation in nokia E5

    I am not able to install Nimbuzz in my nokia E5 mexico made. pls give a solution.

  • Z-reports not used...

    Hi, I am involved in a SAP R3 4.6C server where there are 900 custom Z reports. Is there a way by which one can know which Z report is mostly used and the reports that are not used by users. The idea is to identify if the reports are needed and clean