2.1 EA1 Export results

Hi, I have problem with export query result.
I wrote select from 2 tables which contains 2 some named columns (CREATED_BY, CREATED_WHEN). SQLD named fields from second table CREATED_BY-1 and CREATED_WHEN-1. These names doesn't export - error ORA-00904 "CREATED_BY-1" invalid identifier.
Could anybody help me how set postfix for identically named fields (if is in SQLD possible) to correct character?
Thanks for your help, Peter

Hi -K-,
of course, I could use alias. But in tables (and result) are much columns and I used select t1.*,t2.* from t1 t2;
If I could use alias I had enumerate all columns, isn't it?
The question was about possibility change default postfix for same column name in result.
Regards, Petr

Similar Messages

  • EA1 - Export result of query to clipboard gives ORA-00904 error

    I ran the following SQL in a SQL Developer worksheet:
    create table EXTCHAR_TEST (TEST_COL VARCHAR2(2000));
    insert into EXTCHAR_TEST(TEST_COL) values ('(ASCII) ABCDEFGHIJKLMNOPQRSTUVWXYZ');
    insert into EXTCHAR_TEST(TEST_COL) values ('(UTF-8) ŁłŃńŅņŇňʼnŊŋŌōŎŏŐőŒœŔŕŖŗŘřŚ');
    insert into EXTCHAR_TEST(TEST_COL) values ('(UTF-8) ŗňŅŒŅ ňŁœ ōř ňʼnŇň łřŔŅ ŇŏŎŅ?');
    select TEST_COL, DUMP(TEST_COL,1016) from EXTCHAR_TEST;
    I then tried to right-click on the results and export them as CSV to the clipboard. Whenever I try this (possibly other ways too, I haven't tried) I get this error:
    An error was encountered performing the requested operation:
    ORA-00904: "DUMP(TEST_COL,1016)": invalid identifier
    00904. 00000 - "%s: invalid identifier"
    * Cause:
    * Action:
    Vendor code 904Error at Line: 2 Column: 16
    Edited by: gclough on Sep 28, 2009 4:03 PM

    Hi Barry,
    I think I'm using the latest "EA1" version, which I downloaded from here:
    [http://www.oracle.com/technology/software/products/sql/index21_EA1.html]
    I have just confirmed using the sample script, that the problem still exists. I was connected to a v9.2.0.5.0 database... if that makes any difference.
    * Run SQL
    * Right-Click on results
    * Export Data -> csv...
    * Clipboard
    * Click "Apply"
    * Error... :-(
    Greg.
    About
    Oracle SQL Developer 2.1.0.62
    Version 2.1.0.62
    Build MAIN-62.61
    Copyright © 2005,2009 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.2.36.54.96
    Product ID: oracle.sqldeveloper
    Product Version: 11.1.1.62.61
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.6.0_11
    Oracle IDE     2.1.0.62.61
    Versioning Support     2.1.0.62.61
    Properties
    Name     Value
    ====     =====
    apple.laf.useScreenMenuBar     true
    awt.toolkit     sun.awt.windows.WToolkit
    class.load.environment     oracle.ide.boot.IdeClassLoadEnvironment
    class.load.log.level     CONFIG
    class.transfer     delegate
    com.apple.macos.smallTabs     true
    com.apple.mrj.application.apple.menu.about.name     "SQL_Developer"
    com.apple.mrj.application.growbox.intrudes     false
    file.encoding     Cp1252
    file.encoding.pkg     sun.io
    file.separator     \
    http.agent     Mozilla/5.0 (Java 1.6.0_11; Windows XP 5.1 x86; en_US) ICEbrowser/v6_1_3
    ice.browser.forcegc     false
    ice.pilots.html4.ignoreNonGenericFonts     true
    ice.pilots.html4.tileOptThreshold     0
    ide.AssertTracingDisabled     true
    ide.bootstrap.start     9450010258892
    ide.build     MAIN-62.61
    ide.conf     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.config_pathname     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.debugbuild     false
    ide.devbuild     false
    ide.extension.search.path     sqldeveloper/extensions:jdev/extensions:ide/extensions
    ide.firstrun     true
    ide.java.minversion     1.6.0_04
    ide.launcherProcessId     5404
    ide.main.class     oracle.ide.boot.IdeLauncher
    ide.patches.dir     ide/lib/patches
    ide.pref.dir     C:\Documents and Settings\Greg\Application Data\SQL Developer
    ide.pref.dir.base     C:\Documents and Settings\Greg\Application Data
    ide.product     oracle.sqldeveloper
    ide.shell.enableFileTypeAssociation     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\sqldeveloper.exe
    ide.splash.screen     splash.gif
    ide.startingArg0     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\sqldeveloper.exe
    ide.startingcwd     C:\Documents and Settings\Greg
    ide.user.dir     C:\Documents and Settings\Greg\Application Data\SQL Developer
    ide.user.dir.var     IDE_USER_DIR
    ide.work.dir     C:\Documents and Settings\Greg\My Documents\SQL Developer
    ide.work.dir.base     C:\Documents and Settings\Greg\My Documents
    java.awt.graphicsenv     sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob     sun.awt.windows.WPrinterJob
    java.class.path     ..\..\ide\lib\ide-boot.jar
    java.class.version     50.0
    java.endorsed.dirs     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\lib\endorsed
    java.ext.dirs     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
    java.home     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre
    java.io.tmpdir     C:\DOCUME~1\Greg\LOCALS~1\Temp\
    java.library.path     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;c:\Program Files\Microsoft IntelliType Pro\;C:\progra~1\Oracle\product\11.1.0\db_1\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Progra~1\Oracle\product\11.1.0\client_2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\Microsoft Shared\Windows Live
    java.naming.factory.initial     oracle.javatools.jndi.LocalInitialContextFactory
    java.runtime.name     Java(TM) SE Runtime Environment
    java.runtime.version     1.6.0_11-b03
    java.specification.name     Java Platform API Specification
    java.specification.vendor     Sun Microsystems Inc.
    java.specification.version     1.6
    java.util.logging.config.file     logging.conf
    java.vendor     Sun Microsystems Inc.
    java.vendor.url     http://java.sun.com/
    java.vendor.url.bug     http://java.sun.com/cgi-bin/bugreport.cgi
    java.version     1.6.0_11
    java.vm.info     mixed mode
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.specification.name     Java Virtual Machine Specification
    java.vm.specification.vendor     Sun Microsystems Inc.
    java.vm.specification.version     1.0
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     11.0-b16
    jdbc.driver.home     /C:/progra~1/Oracle/product/11.1.0/db_1/
    jdbc.library     /C:/progra~1/Oracle/product/11.1.0/db_1/jdbc/lib/ojdbc6.jar
    line.separator     \r\n
    oracle.home     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper
    oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG     true
    oracle.jdbc.Trace     true
    oracle.translated.locales     de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
    oracle.xdkjava.compatibility.version     9.0.4
    orai18n.library     /C:/progra~1/Oracle/product/11.1.0/db_1/jlib/orai18n.jar
    os.arch     x86
    os.name     Windows XP
    os.version     5.1
    path.separator     ;
    reserved_filenames     con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
    sqldev.debug     false
    sun.arch.data.model     32
    sun.boot.class.path     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\lib\resources.jar;C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\lib\rt.jar;C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\lib\sunrsasign.jar;C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\lib\jsse.jar;C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\lib\jce.jar;C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\lib\charsets.jar;C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\classes
    sun.boot.library.path     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\jdk\jre\bin
    sun.cpu.endian     little
    sun.cpu.isalist     pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
    sun.desktop     windows
    sun.io.unicode.encoding     UnicodeLittle
    sun.java2d.ddoffscreen     false
    sun.jnu.encoding     Cp1252
    sun.management.compiler     HotSpot Client Compiler
    sun.os.patch.level     Service Pack 3
    svnkit.sax.useDefault     true
    user.country     US
    user.dir     C:\Program Files\Oracle\product\11.1.0\db_1\sqldeveloper\sqldeveloper\bin
    user.home     C:\Documents and Settings\Greg
    user.language     en
    user.name     Greg
    user.timezone     America/Los_Angeles
    user.variant     
    windows.shell.font.languages     
    Extensions
    Name     Identifier     Version     Status
    ====     ==========     =======     ======
    Check For Updates     oracle.ide.webupdate     11.1.1.2.36.54.96     Loaded
    Code Editor     oracle.ide.ceditor     11.1.1.2.36.54.96     Loaded
    Database Connection Support     oracle.jdeveloper.db.connection     11.1.1.2.36.54.96     Loaded
    Database Object Explorers     oracle.ide.db.explorer     11.1.1.2.36.54.96     Loaded
    Database UI     oracle.ide.db     11.1.1.2.36.54.96     Loaded
    Diff/Merge     oracle.ide.diffmerge     11.1.1.2.36.54.96     Loaded
    Extended IDE Platform     oracle.javacore     11.1.1.2.36.54.96     Loaded
    External Tools     oracle.ide.externaltools     11.1.1.2.36.54.96     Loaded
    File Support     oracle.ide.files     11.1.1.2.36.54.96     Loaded
    File System Navigator     oracle.sqldeveloper.filenavigator     11.1.1.62.61     Loaded
    Help System     oracle.ide.help     11.1.1.2.36.54.96     Loaded
    History Support     oracle.jdeveloper.history     11.1.1.2.36.54.96     Loaded
    Import/Export Support     oracle.ide.importexport     11.1.1.2.36.54.96     Loaded
    Index Migrator support     oracle.ideimpl.indexing-migrator     11.1.1.2.36.54.96     Loaded
    JDeveloper Runner     oracle.jdeveloper.runner     11.1.1.2.36.54.96     Loaded
    Log Window     oracle.ide.log     11.1.1.2.36.54.96     Loaded
    Navigator     oracle.ide.navigator     11.1.1.2.36.54.96     Loaded
    Object Gallery     oracle.ide.gallery     11.1.1.2.36.54.96     Loaded
    Object Viewer     oracle.sqldeveloper.oviewer     11.1.1.62.61     Loaded
    Oracle Data Modeler Reports     oracle.sqldeveloper.datamodeler_reports     11.1.1.62.61     Loaded
    Oracle Database Browser     oracle.sqldeveloper.thirdparty.browsers     11.1.1.62.61     Loaded
    Oracle IDE     oracle.ide     11.1.1.2.36.54.96     Loaded
    Oracle SQL Developer     oracle.sqldeveloper     11.1.1.62.61     Loaded
    Oracle SQL Developer Data Modeler Viewer     oracle.datamodeler     2.0.0.574     Loaded
    Oracle SQL Developer Extras     oracle.sqldeveloper.extras     1.1.1.62.61     Loaded
    Oracle SQL Developer Migrations     oracle.sqldeveloper.migration     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - Antlr3 Translation Core     oracle.sqldeveloper.migration.translation.core_antlr3     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - DB2     oracle.sqldeveloper.migration.db2     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - Microsoft Access     oracle.sqldeveloper.migration.msaccess     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - MySQL     oracle.sqldeveloper.migration.mysql     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - SQLServer     oracle.sqldeveloper.migration.sqlserver     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - Sybase     oracle.sqldeveloper.migration.sybase     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - Teradata     oracle.sqldeveloper.migration.teradata     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - Translation Core     oracle.sqldeveloper.migration.translation.core     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - Translation Db2     oracle.sqldeveloper.migration.translation.db2     11.1.1.62.61     Loaded
    Oracle SQL Developer Migrations - Translation UI     oracle.sqldeveloper.migration.translation.gui     11.1.1.62.61     Loaded
    Oracle SQL Developer Reports     oracle.sqldeveloper.report     11.1.1.62.61     Loaded
    Oracle SQL Developer SearchBar     oracle.sqldeveloper.searchbar     11.1.1.62.61     Loaded
    Oracle SQL Developer TimesTen     oracle.sqldeveloper.timesten     2.0.0.62.61     Loaded
    Oracle SQL Developer Unit Test     oracle.sqldeveloper.unit_test     11.1.1.62.61     Loaded
    Oracle SQL Developer Worksheet     oracle.sqldeveloper.worksheet     11.1.1.62.61     Loaded
    Oracle XML Schema Support     oracle.sqldeveloper.xmlschema     11.1.1.62.61     Loaded
    PROBE Debugger     oracle.jdeveloper.db.debug.probe     11.1.1.2.36.54.96     Loaded
    Peek     oracle.ide.peek     11.1.1.2.36.54.96     Loaded
    Persistent Storage     oracle.ide.persistence     11.1.1.2.36.54.96     Loaded
    QuickDiff     oracle.ide.quickdiff     11.1.1.2.36.54.96     Loaded
    Replace With     oracle.ide.replace     11.1.1.2.36.54.96     Loaded
    Runner     oracle.ide.runner     11.1.1.2.36.54.96     Loaded
    Snippet Window     oracle.sqldeveloper.snippet     11.1.1.62.61     Loaded
    Sql Monitoring Project     oracle.sqldeveloper.sqlmonitor     11.1.1.62.61     Loaded
    Tuning     oracle.sqldeveloper.tuning     11.1.1.62.61     Loaded
    VHV     oracle.ide.vhv     11.1.1.2.36.54.96     Loaded
    Versioning Support     oracle.jdeveloper.vcs     11.1.1.2.36.54.96     Loaded
    Versioning Support for Subversion     oracle.jdeveloper.subversion     11.1.1.2.36.54.96     Loaded
    Virtual File System     oracle.ide.vfs     11.1.1.2.36.54.96     Loaded
    Web Browser and Proxy     oracle.ide.webbrowser     11.1.1.2.36.54.96     Loaded
    audit     oracle.ide.audit     11.1.1.2.36.54.96     Loaded
    oracle.ide.indexing     oracle.ide.indexing     11.1.1.2.36.54.96     Loaded
    Edited by: gclough on Sep 30, 2009 4:39 PM

  • How to export result set from mysql query browser to .sql in oracle

    Hi folks:
    I was trying to export result set from MySql query browser to Oracle. I could able to do
    File->Export Result Set-> Excel format...
    What I am trying to get is .sql file so that I can run it as a script in my oracle db. Is there any way we can get .sql file with inserts and delimeters ....?
    Did you guys get my question.?
    Please throw some light on this....
    Could be very appreciable ....
    Thanks
    Sudhir Naidu

    Hi
    Create a sql statement which generates the insert statements.
    Something like this:
    select 'insert into table1 (column1, column2, column3) values (' ||
    column1 || ', ' || column2 || ', ' || column3 || ');' from table 1;
    The || sign is the string concatenation sign in Oracle, replace it the appropriate sign in MySql. Export the result set of this query into a file, and you can run it in a SqlPlus.
    Ott Karesz
    http://www.trendo-kft.hu

  • 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 to create Store Procedure for export result select in .txt or .csv

    Hello,
    I'm using MSSQL Server.
    How to export results query  in .txt or .csv?
    But
    I can not use bcp or SQLCMD.

    1) linked server
    insert into txtsrv...table1#txt(CustomerNumber,CustomerName,EntryDate)
    select orderid, shipname, orderdate
    from Northwind..orders
    Set up the linked server
    Connecting a directory of text files as a linked server is easy.  Here’s how:
    In Windows, create a new directory for the linked server.  
    For this article, that directory will be E:\txtsvr. 
    Add that directory as a linked server with sp_addlinkedserver:
    EXEC sp_addlinkedserver txtsrv, 'Jet 4.0',
      'Microsoft.Jet.OLEDB.4.0', 'e:\txtsrv', NULL, 'Text' 
    That’s all that’s required to add the linked server txtsrv
     as a connection to the text files in E:\txtsvr, but there are
     no tables in txtsvr yet.  Also missing is a required file, schema.ini, 
    which must contain a description of each table’s format.  
    You can  learn more about schema.ini from the Microsoft MSDN Library,
     but for now, just use Notepad or your favorite text editor 
    to create the file e:\txtsrv\schema.ini as shown in Listing 1. 
     In addition, create an empty text file in e:\txtsrv named table1.txt.
    The file e:\txtsrv\table1.txt is now an empty table in the linked server txtsrv.  
    We can see that if we list information about all the tables in txtserv with 
    the system stored procedure sp_tables_ex:
    EXEC sp_addlinkedsrvlogin txtsrv, FALSE, Admin, NULL
    EXEC sp_tables_ex txtsrv
    Text files are tables
    We can’t issue a CREATE TABLE statement against this linked server, 
    but we have created a table easily enough.  We can, however, 
    run INSERT and SELECT queries, if we use the four-part naming 
    convention <server>…<table> (that’s three dots):
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Export Results-Not Enough Memory (1).  I need HELP with this please.  Using Windows 7 32-bit.  Intel i5 4690K CPU 16GB RAM 120 SSD and 1 TB harddrive.

    Everytime I go to export a photo, I get an error.
      "Export Results:  Not enough memory (1)
    Using Windows 7 32-bit.  Intel i5 4690K CPU 16GB RAM 120 SSD and 1 TB harddrive.

    Even though you have 16gb of ram installed, 32 bit Windows can only use 4gb of it so 12gb is wasted.  This is the reason you are getting not enough memory errors and is a known problem with Lightroom an 32 bit Windows during export.   You need to change to 64 bit Windows.

  • 1.5.3 - Export results to XLS ORA-00936

    SQL Developer 1.5.3, JDK 1.6.0_11, and Oracle 10.2.0.3.0.
    Try to export SQL results to XLS. Get an oracle error.
    An error was encountered performing the requested operation:
    ORA-00936: missing expression
    00936. 00000 - "missing expression"
    *Cause:
    *Action:
    Vendor code 936
    I am unable to export any SQL results.
    I am able to export results from SQL Developer 1.5.0 JDK 1.6.0_11, and Oracle 10.2.0.3.0.
    Thanks
    Dennis

    I have the same error running the latest jdk 1.6 and sqldeveloper 1.5.3...I'm trying to export data from a 10.2.0.4 db...below is the stack trace:
    java.lang.NullPointerException
         at oracle.dbtools.raptor.dialogs.export.ColumnPanel.addColumnsToTree(ColumnPanel.java:86)
         at oracle.dbtools.raptor.dialogs.export.ColumnPanel.showPanel(ColumnPanel.java:62)
         at oracle.dbtools.raptor.dialogs.export.ColumnPanel.<init>(ColumnPanel.java:51)
         at oracle.dbtools.raptor.dialogs.actions.TableExportAction.showPanels(TableExportAction.java:288)
         at oracle.dbtools.raptor.dialogs.actions.TableExportAction.launch(TableExportAction.java:158)
         at oracle.dbtools.raptor.format.ui.ExportContextMenuListener$1.actionPerformed(ExportContextMenuListener.java:136)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Edited by: user2893625 on Dec 23, 2008 7:06 AM

  • Export result of report created in CJE3

    Hi,
    my requirement is to export the results of a PS (project system) report created in transaction CJE3 (with report painter), to use them for a custom RFC.
    Is there anybody who knows a function to run this kind of report from ABAP code or in background?
    Otherwise, do somebody know any workaround?
    Thank you.

    Hello David,
    For 11ERL1, the program linked to it is :
    GP1SBBMUEVEV2X34C1HZVQQBO3R
    you can run it in SE38 and in background with a variant, you will get the result in a spool as for all background jobs.
    Tamim

  • Export results to different file type

    I am very curious, if you can successfully export to csv format when choosing for query result in sql dev 2.1.
    1. Worksheet
    2. Enter a Query
    3. Press the first green arrow to perform the query
    4. Navigate to the results with the mouse and right click to have the possibility to export to csv.
    In 1.5 I got loads of exportb option but in 2.1 I dont get any option. I upgraded to 2.1 because I needed to connect to a sql server as well as Oracle but since upgrading have had no joy in exporting the results from either, any advice?

    So the context menu is still OK, you just don't get anything after that? You might be running into [this one|http://forums.oracle.com/forums/thread.jspa?threadID=873423].
    As for SQL Server, 2.1 didn't allow for export, but 2.1.1 does.
    K.

  • How to ... SUBMIT Payroll Driver ... EXPORT Result Table TO MEMORY...

    Hi,
    Can someone please help? I need to retrieve the Result Table -RT in my Z-program by simulating the payroll result for any future month. The payroll result cannot be read from RT table as it is for future month.
    I have try to use:
    1. SUBMIT .... EXPORTING LIST TO MEMORY
    2. CALL FUNCTION 'LIST_FROM_MEMORY'
    3. CALL FUNCTION 'LIST_TO_ASCI'
    However, this doesn't give me the RT table as simulated when I check both "LISTOBJECT" and "LISTASCI" tables.
    Please suggest if you have better idea in providing the same result.
    Please help!

    HI,
    You can run the payroll with INLK Schema,
    Regards,
    Kapil Kaushal

  • Oracle 10g EE Export Results in ORA-01001: invalid cursor Error

    Hi,
    I'm quite new to Oracle 10g and OCS10g. We have a crippled/corrupt SYSAUX tablespace (data file 3) which cannot be recovered using recover
    command anymore. So metalink support instructed us to do a export of the metadata of the working tablespace which contains our system data (we are in configuration stage for OCS 10g 10.1.2) via transportable tablespaces so that I can just recreate the database in DBCA and import the metadata. So after I made a cold backup, set the "transportable" tablespaces to "READ ONLY" mode, I proceeded w/ the export command which resulted in an error, please see below:
    $exp \'sys/********@ocs10gSID as sysdba\' parfile=transport.par
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 -
    Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses AL32UTF8 character set (possible charset conversion)
    Note: table data (rows) will not be exported
    About to export transportable tablespace metadata...
    EXP-00008: ORACLE error 1001 encountered
    ORA-01001: invalid cursor
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 899
    ORA-06512: at "SYS.DBMS_SQL", line 19
    ORA-06512: at "SYS.DBMS_TTS", line 811
    ORA-00376: file 3 cannot be read at this time
    ORA-01110: data file 3: '/ocfs/oradata/OCS/datafile/o1_mf_sysaux_2mgzbr51_.dbf'
    ORA-06512: at "SYS.DBMS_PLUGTS", line 1444
    ORA-06512: at line 1
    Anyone encountered this problem before? Any recommendations or tips to get this working?
    I checked this url:"http://luhartma.blogspot.com/2006/05/how-to-check-if-tablespace-is.html"
    And when I try to follow the instructions and check on of the tablespace I set to and verified to be in "READ ONLY" mode, I get the same error.
    SQL> connect / as sysdba
    Connected.
    SQL> exec dbms_tts.TRANSPORT_SET_CHECK('PORTAL',TRUE)
    BEGIN dbms_tts.TRANSPORT_SET_CHECK('PORTAL',TRUE); END;
    ERROR at line 1:
    ORA-01001: invalid cursor
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 899
    ORA-06512: at "SYS.DBMS_SQL", line 19
    ORA-06512: at "SYS.DBMS_TTS", line 811
    ORA-00376: file 3 cannot be read at this time
    ORA-01110: data file 3: '/ocfs/oradata/OCS/datafile/o1_mf_sysaux_2mgzbr51_.dbf'
    ORA-06512: at "SYS.DBMS_TTS", line 840
    ORA-06512: at line 1
    Hope someone can help on this or at least provide a suggestion. Data file 3 above is the reason we are doing a transportable tablespace export & db recreation.
    BTW what we have is:
    OCS 10g 10.1.2 w/ Oracle RDBMS 10g Enterprise Edition 10.1.0.4.2
    RHEL4 Update2
    Thanks in advance.
    Regards,
    -Kenth

    Hi,
    The status is "RECOVER" we have actually tried to recover but unfortunately the archive logs that were needed were on disks and were lost during one of the server hardware failures. Actually that is the reason why metalink support recommended this route for getting everything in order since we don't have any application data in SYSAUX yet.
    Thanks.

  • SQL Developer 3.0 EA1 - Query Result assumes keyboard focus

    In the Early Adopter 1 release of SQL Developer and noticed that after running a statement in a worksheet the focus for the keyboard is now in the query results pane. This change in behavior from version 2 is slightly disruptive and makes it harder to iteratively build queries or search for data without having to continuously keep moving the cursor back to the worksheet. I am using the linux version if it makes a difference and it happens both when click the run statement button or use the ctrl+enter shortcut key.
    I have been trying out the preview release and all around it looks good and has some very nice improvements. Just this and the missing export to clipboard are the only issues I've had so far.
    Edited by: user5490329 on Oct 14, 2010 9:06 AM

    I agree with the majority of people here that this is annoying and I'd also prefer to leave the input focus in the SQL Worksheet after I hit CTRL+ENTER, so I am looking forward to the fix.
    However, in some cases, it would come in handy if there was a shortcut key to quickly get to the query result tab, just like in TOAD, where F6 is used for this purpose. The same key is reserved for autotrace in SQL Developer, so another function key could be used.

  • SQL Developer - Problem Exporting Results at times - ver 1.5.3 build 5783

    Hi,
    I have been having intermittent problems with running a query and then trying to export the results into an excel spreadsheet. Sometime I have no problem, it brings up the dialog box and I can export. Other times I select export data and pick xls or other export types and nothing happens. I'm trying to understand what could be causing it to work sometimes and not others. Any ideas would be appreciated.
    Ray

    Export has been causing problems over all versions, but in generally are getting better over time. I suggest you try 1.5.5, which fixes several problems.
    Hope that helps,
    K.

  • Exporting Result from resultset iview through EPCF eventing

    Hi
    I am trying to Export the data from Result Set Iview to Excel using a Java Web dynpro application.
    I am passing an MDM search parameter but when I am trying to get the value ,its coming as null...
    This is what I am doing:
    public void wdDoInit()
    //@@begin wdDoInit()
    wdThis.readSystemDtls();
    namespace = "urn:com.sap.tc.webdynpro.exporttocsv";
    eventname= "Export";
    WDPortalEventing.subscribe(namespace,eventname,wdThis.wdGetExportAction());
    //@@end
    public void onActionExport(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String value )
    //@@begin onActionExport(ServerEvent)
    wdComponentAPI.getMessageManager().reportSuccess("data"+value);
    int marked=value.indexOf("=");
    String srcValue=value.substring(marked+1);\wdContext.currentContextElement().setCatchedValue(srcValue);
    String targetValue=wdContext.currentContextElement().getCatchedValue();
    Search search = Search.deserialize(targetValue);
    Please help...

    Hi,
    Refer the below link which explains the step by step procedure for the requirement you are looking for
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/504814b6-da5f-2b10-0dbd-e5ee597c74a5
    Regards,
    Jitesh Talreja

  • Export Results ORA-00936 Error Reported

    In an attempt to extract all of a package's source code in one file as well as work in a file-oriented fashion (which other posters have commented is not well supported), I issued a select dbms_metadata.get_ddl(...) from dual. This generated the output I wanted in the worksheet results. However, the ORA-00936 error is thrown when I try to export this as text to overwrite my (checked out from source control) file. My only recourse then becomes to copy the result, open my file (outside SQL-D) and replace what's there (which does work, by the way).
    There was another post on this issue in a prior version where the error was attributed to double quotes around aliases, but I'm still getting the error (see Re: Export query results error, v. 5 / 1343

    This is a bug with how SQL Developer does it's export (not that I could find it logged on MetaLink).
    When you export a query, SQL Developer writes a wrapper select around your query to drive the export. In an example of what you are trying to do, it converts the following query (I added an alias to see if that helped, but it didn't):
    select dbms_metadata.get_ddl('PACKAGE', 'MY_PKG') my_ddl from dual;
    to (based on the trace file with sql_trace switched on):
    select * from (select from ( select dbms_metadata.get_ddl('PACKAGE', 'MY_PKG') my_ddl from dual));
    Your immediate options are to continue with your current workaround, switch to a query on DBA_SOURCE for this export, or cope with the way SQL Developer currently does it's file based development.
    As far as getting this fixed (hopefully before 1.1), you would either need to log an SR on MetaLink or hope that one of the SQL Developer team logs a bug based on this thread.

Maybe you are looking for

  • Adobe Photoshop CS6 (version étudiante) a cessé de fonctionner

    Bonjour ! Voilà, depuis quelques jours, Photoshop plante à l'initialisation. La fenêtre s'ouvre et bloque pendant le chargement sur "initialisation des menus". En redémarrant mon ordi, photoshop a fini par s'ouvrir, mais à planter sans raison (pas de

  • Customer would like to have details on Clustering resources usage

    IHAC that currently implemented an application using 6 WLS instances in 6 domains (!) and 2 phisical servers. I mean they have 6 admin with a single managed server each. They did so to implement an High Available system, working Cluster-like. When I

  • Deploying Cocoon 2.0.1 in WL 6.1 SP2

    Folks, I am trying to deploy Cocoon 2.0.1 inside Weblogic 6.1 SP2. I can not get it deploy properly. I followed the instructions on the cocoon and changed cocoon.xconf <xslt-processor class="org.apache.cocoon.components.xslt.XSLTProcessorImpl" logger

  • Dunning -  Entire Coding in SMARTFORMS!!

    Hi, I need to develop one Dunning Program through Smartforms, generate a PDF and Mail the same. I have few questions regarding the same. u2022     Which Application do I need to choose in NACE as I see nothing related to Dunning? u2022     If there i

  • Select syntax

    select zterm vtext from tvzbt into table itab8 for all entries in itab4 where zterm = vbkd-zterm and vbkd-vbeln = itab4-vbeln and spras = sy-langu. Error is Field "VBKD-VBELN" unknown.