How can I export the results of a query?

After executing a select statement I can see the results in a grid but how can I export the results (the data)?
How can I export the results of a join of two or more tables?

Right click in the results grid and select the Export menu option

Similar Messages

  • How can i export the results for this loop

    Hi all 
    i wrote a script to do nslookup for a list of web sites here is the code i wrote 
    $servers = get-content "C:\NSLOOKUP.txt"
    foreach ($server in $servers) {
    $addresses = [System.Net.Dns]::GetHostAddresses($server)
    foreach($a in $addresses) {
    "{0},{1}" -f $server, $a.IPAddressToString
    } | Export-Csv 'C:\scripts\output.csv' -NoType
    but it didn't export shall you support me on this 

    Hi,
    Try it this way:
    Get-Content .\wwwList.txt | ForEach {
    $addr = [System.Net.Dns]::GetHostAddresses($_)
    $props = @{
    Name = $_
    Addresses = $addr.IPAddressToString -join ','
    New-Object PsObject -Property $props
    } | Sort Name | Export-Csv .\wwwList.csv -NoTypeInformation
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • How can I export the very cool Lightroom Map and link to the photos which show on the map?

    How can I export the very cool Lightroom Map and link to the photos which show on the map?
    I love the way Lightroom imported my .gpx files, automatically geocoded the photos, and show where I took them on the map.
    Would love to export this lovely map and the photos which have been geocoded to the map.
    Anyone know how to export this as an HTML file I can import into my web site.
    I'm a Realtor in Berkeley, and integration of the elegant map and the photos.  It would be perfect way to show my clients where the homes are, and what they look like.
    Ira

    You probably didn't get an answer because none exists within Lightroom.
    You can perform a screen caputre of the Lightroom map, and use the resulting JPG/GIF of your screen, however there is no way to hyperlink the point on the map to your photos.
    You might want to consider a non-Lightroom solution, such as uploading the photos to an Album on Flickr (or one of many other photo sharing web sites) and using the mapping capabilites there, which would be hyperlinked to your photos, see example below. You can use Lightroom to geotag the photos and then use Lightroom to upload to Flickr (or other web site) and then use the web site to create and display the map

  • How can i display the result of java class in InputText ?

    Hi all,
    How can i get the result of java class to InputText Or OutputText ???
    also can every one in the forum give me road map for dealing with java in oracle adf because i'm beginner in oracle adf
    i saw some samples in oracle adf corner but it's difficult for me.

    User,
    Always mention your JDev version, technologies used and clear usecase description (read through this announcement : https://forums.oracle.com/forums/ann.jspa?annID=56)
    How can i get the result of java class to InputText Or OutputText ???Can you elaborate on your requirement? Do you mean the return value of a method in a class as output text? Or an attribute in your class (bean?) as text field?
    -Arun

  • HT2486 how can I export the contact book data to a csv file for editing?

    how can I export the contact book data to a csv file for editing?

    You can edit a card right in Contacts. No need to export and re-import.
    Select a name and on the right side, click the Edit button:

  • How can I export the universe  to CSV format in Rational      (java)

    How can I export the universe to CSV format in Rational ,please give me one demo .thanks!!

    There's no direct access to an Universe from Java - Universes do have an SDK, but it's COM-based.
    If what you want is to retrieve data from the Universe, what you can do is create a Web Intelligence document reporting off that Universe, create a Query with the data you want from the Universe, then use the ReportEngine (REBean) SDK to retrieve the ResultSet from the Query - note that there's no CSV export option, so you'd have to walk through the ResultSet and write to an CSV yourself.
    Sincerely,
    Ted Ueda

  • How can we export the data from OAF Page to Excel instead of .csv or .txt

    Hello,
    How can we export the data from OAF Page to Excel instead of .csv or .txt
    When i click on the export button it is exporting to txt file, But i need to export the data into Excel by default
    Please help me
    Thanks in advance
    Thanks,
    Raju
    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju
    Edited by: 1006649 on May 21, 2013 10:55 AM

    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju

  • How can i export the data to excel which has 2 tables with same number of columns & column names?

    Hi everyone, again landed up with a problem.
    After trying a lot to do it myself, finally decided to post here..
    I have created a form in form builder 6i, in which on clicking a button the data gets exported to excel sheet.
    It is working fine with a single table. The problem now is that i am unable to do the same with 2 tables.
    Because both the tables have same number of columns & column names.
    Below are 2 tables with column names:
    Table-1 (MONTHLY_PART_1)
    Table-2 (MONTHLY_PART_2)
    SL_NO
    SL_NO
    COMP
    COMP
    DUE_DATE
    DUE_DATE
    U-1
    U-1
    U-2
    U-2
    U-4
    U-4
    U-20
    U-20
    U-25
    U-25
    Since both the tables have same column names, I'm getting the following error :
    Error 402 at line 103, column 4
      alias required in SELECT list of cursor to avoid duplicate column names.
    So How can i export the data to excel which has 2 tables with same number of columns & column names?
    Should i paste the code? Should i post this query in 'SQL and PL/SQL' Forum?
    Help me with this please.
    Thank You.

    You'll have to *alias* your columns, not prefix it with the table names:
    $[CHE_TEST@asterix1_impl] r
      1  declare
      2    cursor cData is
      3      with data as (
      4        select 1 id, 'test1' val1, 'a' val2 from dual
      5        union all
      6        select 1 id, '1test' val1, 'b' val2 from dual
      7        union all
      8        select 2 id, 'test2' val1, 'a' val2 from dual
      9        union all
    10        select 2 id, '2test' val1, 'b' val2 from dual
    11      )
    12      select a.id, b.id, a.val1, b.val1, a.val2, b.val2
    13      from data a, data b
    14      where a.id = b.id
    15      and a.val2 = 'a'
    16      and b.val2 = 'b';
    17  begin
    18    for rData in cData loop
    19      null;
    20    end loop;
    21* end;
      for rData in cData loop
    ERROR at line 18:
    ORA-06550: line 18, column 3:
    PLS-00402: alias required in SELECT list of cursor to avoid duplicate column names
    ORA-06550: line 18, column 3:
    PL/SQL: Statement ignored
    $[CHE_TEST@asterix1_impl] r
      1  declare
      2    cursor cData is
      3      with data as (
      4        select 1 id, 'test1' val1, 'a' val2 from dual
      5        union all
      6        select 1 id, '1test' val1, 'b' val2 from dual
      7        union all
      8        select 2 id, 'test2' val1, 'a' val2 from dual
      9        union all
    10        select 2 id, '2test' val1, 'b' val2 from dual
    11      )
    12      select a.id a_id, b.id b_id, a.val1 a_val1, b.val1 b_val1, a.val2 a_val2, b.val2 b_val2
    13      from data a, data b
    14      where a.id = b.id
    15      and a.val2 = 'a'
    16      and b.val2 = 'b';
    17  begin
    18    for rData in cData loop
    19      null;
    20    end loop;
    21* end;
    PL/SQL procedure successfully completed.
    cheers

  • How can I export the tickets into excel sheet?

    You can edit the report to display the specific information you need.  After choosing "Edit" for the report, you'll find a section at the bottom called "Columns to Display".  Pick and choose exactly what you want, and then click the button for "Save and Run".

    How can I export the tickets in to excel sheet? or get a report
    This topic first appeared in the Spiceworks Community

  • I have written an ebook that has been created for kindle. How can I export the book into iBooks author?

    I have written an ebook that has been created for kindle. How can I export the book into iBooks Author?
    I have tried converting the book to different files like, mobi, epub, pdf. By using an app on my iphone.
    I still cannot add it to iBooks Author.
    I'm stuck, Please help me!

    Either use copy/paste and then format/style as desired, or take it to Pages or WORD and insert chapters - which may still require resettling.
    If you're looking for a 1:1 port, with all styles and layout intact, you may be dissapointed, tho.

  • 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

  • I lost my itunes media folder how can I export the photos from my ipad to another location

    I lost my itunes media folder and also my iPhoto files. I have the majority of the photos from iPhoto library on my iPad. How can I get them from my iPad to another location. Like exporting them to a folder on an external drive.Is this possible. I know I can move photos I've taken with the ipad to a new iphoto, but how can a get the old iphoto photos from my ipad to a new location? I'm basically starting over. Don't ask what happened. It was horrible.

    An external drive? Not sure that there is any way of doing that. There are a number of WiFi transfer apps that should let you transfer the photos back to the Mac itself. Look at some of these.
    https://www.google.com/search?q=wifi%20photo%20transfer%20from%20iPad%20to%20Mac
    This application allows you to transfer all iPad content back to your computer.
    http://www.wideanglesoftware.com/touchcopy/index.php

  • How can I extract the results of my squence?

    Hello, I'm a beginer of test Stand.
    I've created a main squence with LabView & TestStand, and works well, when it finish TestStand automatically creates my report. I need to extract these results of my sequence in order to create a custom document automatically, creating an action with LabView that works with these results, without any action of an operator.
    How can I extract these results? Thanks you very much.

    Hello,
    you've got several options here, although it seems you might want to go with the first option:
    1) After running your sequence, you'll find all the results needed for creating a report on the variable Locals.ResultList, which is an array of objects (of the Result type). You can pass this array to external code for it to use the information (i.e. create a report)
    2) You can override the report generation callback on your process model (Test Report callback)and create your own LabVIEW-based report generation sequence/routine
    3) You can modify the report generation sequences on the process model to suit your needs (always make backup copies and place your modifications on the /Components/User folder !)
    I would also recommend you to assist National Instruments Training Courses, as these things can be seen in detail and provide you a better understanding of all the options TestStand has.
    Regards,
    Jorge M.Mensaje editado por Jorge M.

  • How can I format the results?

    hi,
    I do this caculation
    double cal = 1.0/3.0;
    I just want the result like this "0.3333". How can I format this result?
    Thanks,
    Bin

    java.text.DecimalFormat xForm = new java.text.DecimalFormat("#, ##0.00");:)

  • Please Give me reply for this problem(How can I get the result)???

    Hello Friends,
    I have one table CXATCMS.Which has 3 columns and has the following data
    start_no end_no activity_date
    05001000001 05001000002 01-OCT-03
    05001000015 05001000016 01-OCT-03
    05001000017 05001000018 12-JUN-05
    05001000019 05001000020 12-JUL-06
    I have to create a report which lists the the specific range.
    If the next record's start_no is the immediate next number for the prevoius record's
    end_no .....then it has to display all those numbers in a range until it finds a number which is not next immediate number for the previous record's end number.
    like for example....if the user wants to see from 1 to 20 range.
    then the result must be like this........
    start_no end_no
    05001000001 05001000002-------there is no 05001000003 number in the
    05001000015 05001000020 start numbers so it has to stop its range by this number).
    How can i get this result........

    Hi,
    Try this. I am sure you know how to write procedure, I have skipped those obligations, anyway u can sense the absic way of working from here I think. Pls do the uppercase / lowercase adjustment as required by your operating system.
    Declare
    mnd CXATCMS.end_no%type;
    numRec CXATCMS.%rowtype;
    Cursor C is select * from CXATCMS where start_no between 1 and 20 order by start_no;
    begin
    select min(end_no)+1 into mnd from CXATCMS where start_no between 1 and 20;
    open C;
    Loop
    fetch C into numRec;
    DBMS_OUTPUT.putline(numRec);
    exit when mnd<>numrec.start_no;
    if mnd=numrec.start_no then
    mnd:=numRec.end_no + 1;
    end if;
    end loop;
    Exception
    when no_data_found raise application_error;
    end;
    gimme feadback pl,
    Pragati.

Maybe you are looking for

  • Creating a foreign key constraint on a synonym of table in another schema.

    Hi, I am having two user operapps and oper owner of table po_vendors is operapps ,i have created a synonym in oper with select permission. now i am trying to create a foreign key. ALTER TABLE OPS_BR_VENDORS ADD ( FOREIGN KEY (VENDOR_ID) REFERENCES PO

  • Is it possible to sort photos by date in descending order?

    In the new Yosemite Photos app my photos are displayed in ascending order by date. The oldest photos are at the top and I must scroll all the way down to view the newest photos. In iPhoto I was able to change the sorting order so that the newest phot

  • How to download Adobe Acrobat 9

    Hello, I bought Adobe Acrobat 9 a few years ago and I cannot find the link to re-download it. It doesn't appear in my account. I'm changing PC as my old MPC crashed and I need to reinstall Adobe Acrobat 9 on my new PC. Thanks!

  • Stock transfer from 1 branch to another(with allocation of freight charges)

    Hi The clients scenario is: Its a Trading company. Head office is located at Delhi. All the material is purchased and received in general wharehouse. After that it is to be transfered to diffrent branches. All branches are marked as warehouse. During

  • Import Of Content Areas Muddles up Content

    We are in the process of exporting our portal applications,components, content areas and pages from our development server to the live environment. We are using the contexp.cmd for export and contimp.cmd for the import of the content areas but after