Exp Command how to use query in Exp (oracle9i)

How to use query in Exp

Read the Utilities Guide and see for yourself.
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm#1005843

Similar Messages

  • "how to use Query include one month "

    Hi all expert,
    How to make a request how to add table "QTYSALES one month yesterday"
    so that I can compare with this month.
    Query me this:
    SET ARITHABORT OFF
    SET ANSI_WARNINGS OFF
    SELECT T0.ItemCode, T0.Dscription,T1.OnHand, convert(varchar,SUM(T0.BaseQty*T1.NumInSale)) AS 'Qty Sales',DAY(GetDate()) as 'Days',
    Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END AS 'Total days'
    ,convert (varchar,(t1.onhand/(SUM(T0.BaseQtyT1.NumInSale)/DAY(GetDate()) Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END)))AS 'TURN OVER IN MONTH'
    ,round(convert (varchar,(t1.onhand/(SUM(T0.BaseQtyT1.NumInSale)/DAY(GetDate()) Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END))),4)* 30 AS 'Turn Over Days'
    FROM DBO.INV1 T0 INNER JOIN DBO.OITM T1 ON T0.ItemCode = T1.ItemCode
    WHERE Month(T0.DocDate) = Month(GetDate()) AND Year(T0.DocDate) = Year(GetDate())
    GROUP BY T0.ItemCode,T0.Dscription,T1.OnHand
    union
    SELECT T1.ItemCode, T1.itemname,T1.OnHand, '' AS 'Qty Sales',DAY(GetDate()) as 'Days',
    Case WHEN Month(GetDate()) in (1,3,5,7,8,10,12) THEN 31 WHEN Month(GetDate()) in (2,4,6,9,11) THEN 30 ELSE 28 END AS 'Total days'
    ,'No Sales' AS 'TURN OVER IN MONTH'
    ,NULL
    FROM DBO.OITM T1
    WHERE T1.ITEMCODE NOT IN (SELECT ISNULL(ITEMCODE,0) FROM INV1)
    GROUP BY T1.ItemCode,T1.itemname,T1.OnHand
    ORDER BY 1
    thanks for all
    Edited by: rachelhel on May 20, 2009 8:06 AM

    haiiii allll pls help...thankss
    Hi consulatant B1
    How to use Query
    My goal is to create a table to see * The number of sales in a month yesterday *
    I want to make a request showing the amount of sales at the end of the month.
    For example this month is on May 25, so I want to show the Quantity of one month April 25
    I have tried several times, but still just wrong.
    I need expert help to solve the problem for me.
    thanks

  • How to use query-database() function in transformation?

    Hi All,
    How to use query-database() function in transformation?
    It is giving four fields but if i write select query in sqlquery field it is saying select node is not found....
    plz help me out
    Regards
    Pavankumar
    Edited by: [email protected] on Jul 29, 2009 2:49 AM

    Hi,
    To answer your query:-
    http://abhishek-soablog.blogspot.com/2008/08/orclquery-database.html
    Cheers,
    Abhi...

  • How to use Query in Crystal??

    Dear all, This must be the simplest question around however, I cannot understand how to use SQL queries under Crystal.
    I read the help file and it says you need to use universe to create queries.
    I don't have a universe in my report nor it is coming from Universe. I am using direct ODBC connection link to database and then using formulas to put the information into the report.
    Can someone please guide me to the Help articles or forum link where Query in Crystal is explained?
    many thanks
    Regards
    Jehanzeb

    Hello,
    I have done all that however, now my reports are taking way too much time to load. I mean nearly 5mins before it loads the report.
    I used the SQL command as
    Select order_no
    From Order_header, Order_progress
    Where Order_progress=77
    Using this, even the fastest report takes forever to load.
    Is it because it is checking every records against the tables and then loading the report.
    Can we make it faster?
    Regards
    Jehanzeb

  • How to use Query in JDeveloper

    Dear all,
    I use Oracle JDeveloper 10g,
    In the DesignerModel we can define Graph,Crosstab,Query,etc.
    In JSP page I can use the Presentation by drag&drop it.
    But I do not know how to use the Query that we have created by GUI through bibeans API.
    Any help is appreciated!
    thanks

    It seems that there is nobody meeting the same problem.
    I solved it by myself.
    An thanks.

  • How to use 'query data source Name '  property in a block

    I want to create a block using query and want to show the columns on a form.
    Could you please tell me how can I do this?
    Regards

    Hi!
    Create a new block manually.
    Set the Query Data Source Type Property to FROM clause query.
    In the Query Data Source Name Property write your query like you would
    write it in sql*plus or toad but without a order by clause.
    Set the DML Data Target Type Property to None.
    Create items for the columns in your query.
    May set the where clause and order by property of the block.
    Build the form and execute a query in your new block.
    Regards

  • How to use Query Builder in JDeveloper?

    I am not able to use Query Builder with JDeveloper version 11g 2.
    The online documentation about Query Builder:
    http://docs.oracle.com/cd/E35521_01/user.111230/e17455/db_tools.htm#OJDUG2380
    "To use Query Builder:
    Open the SQL Worksheet.
    Right-click and choose Query Builder."
    But when I right-click on the SQL Worksheet, there is no menu item "Query Builder".
    Does the documentation belong to a different version of JDeveloper?
    Edited by: Ralf_user4689599 on 06.05.2013 15:40

    all features of 11.1.2.3.0 are installed.
    It makes no difference wether I start studio developer or database developer role.
    There's no query builder in the context menu of the sql worksheet.

  • How to use SQL*loader in oracle9i???

    Hi,
    I have installed oracle9i, and want to use sql*loader to load text data into table.
    However, I can not find a tool called SQL*loader anywhere on the manu.
    It will be appreciated if some experts can give me an advice where I can find it, and how to use it to load text data.
    Thanks.
    Chuck

    When I go to tahiti.oracle.com and search on "external table", I get dozens of hits that explain how to create an external table and give numerous examples. If you have specific questions, I'd be happy to try to go into more detail. A generic SQL*Loader guide, however, would be well bayond the scope of this forum.
    http://otn.oracle.com/pls/db92/db92.drilldown?remark=&word=external+table&book=&preference=
    Justin

  • How to use Query-views as input-ready

    I have a input-ready query working fine saying the IP field is input-ready, and a value can be entered.
    If I save the query as a query-view and want to use the view instead, the input-ready field change to 'not input-ready'.
    Hence, can query views not be used in IP ?
    Thanks in advance, Mikkel

    Hello,
    My first question is can Apex 3.1 work with 9.2 - 10.1 - 10.2 and 11.1?Correct. That's said in the installation guide.
    My second question is how can I open the Query Builder inside the Create Region>SQL Report wizard to my users inside a custom user defined form?This does not yet exist out of the box. You can have a look how Oracle did it and try to mimic it in your own application.
    My third question is if the answer of second question is it is not possible, then anyone can advice on alternatives for this kind of a need with Apex?Import app 4500 in your own workspace. On page 1002 you should find the query builder.
    Again you can't just run this, you would need to make customizations to it. Alternatively you can add just a textarea on a page where you can run SQL statements from. But I guess you want to have the graphical display?
    My last question is how Apex can handle a distributed database environment, like Java applications can it open several database connections as needed?APEX is living in the Oracle database. So everything inside that database you can potentially work with. If you need data from other sources you can use a database link or hytrogenous connectivity. Basically if you can do it from the Oracle database, you can also do it from within APEX.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/

  • How to use Query Builder as a component inside our applications?

    I am very new to Apex, but I loved it until now :)
    After my first experience I am thinking to advice Apex as an Oracle database reporting environment to some of our marketing and sales guys. These guys are familiar to basic SQL and table, index concepts and their need is to create dynamic reports, take their output to excel and email these reports all around the company :)
    My first question is can Apex 3.1 work with 9.2 - 10.1 - 10.2 and 11.1?
    My second question is how can I open the Query Builder inside the Create Region>SQL Report wizard to my users inside a custom user defined form?
    My third question is if the answer of second question is it is not possible, then anyone can advice on alternatives for this kind of a need with Apex?
    My last question is how Apex can handle a distributed database environment, like Java applications can it open several database connections as needed?
    Thank you.

    Hello,
    My first question is can Apex 3.1 work with 9.2 - 10.1 - 10.2 and 11.1?Correct. That's said in the installation guide.
    My second question is how can I open the Query Builder inside the Create Region>SQL Report wizard to my users inside a custom user defined form?This does not yet exist out of the box. You can have a look how Oracle did it and try to mimic it in your own application.
    My third question is if the answer of second question is it is not possible, then anyone can advice on alternatives for this kind of a need with Apex?Import app 4500 in your own workspace. On page 1002 you should find the query builder.
    Again you can't just run this, you would need to make customizations to it. Alternatively you can add just a textarea on a page where you can run SQL statements from. But I guess you want to have the graphical display?
    My last question is how Apex can handle a distributed database environment, like Java applications can it open several database connections as needed?APEX is living in the Oracle database. So everything inside that database you can potentially work with. If you need data from other sources you can use a database link or hytrogenous connectivity. Basically if you can do it from the Oracle database, you can also do it from within APEX.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/

  • JDEV 10.1.3 Searching how to use query named in client

    I find all necessary information about creating a named query but i didn't find anything about using it in my application code.
    Does somebody know how to call a named query.

    Michel,
    Named queries is documented at: http://download-east.oracle.com/otn_hosted_doc/toplink/1013/MAIN/_html/qryun008.htm#CACFBJCI
    To execute a named query you want to use:
    session.executeQuery("query-name", MyClass.class, args);http://download-west.oracle.com/otn_hosted_doc/toplink/1013/MAIN/b13698/oracle/toplink/sessions/Session.html#executeQuery_java_lang_String__java_lang_Class__java_util_Vector_
    There are several versions of this method depending on the arguments you wish to pass. For named queries defined on a descriptor you want to use the methods that take a reference class as well as the query name.
    Doug

  • How to use query print layout design

    i have a sql query and i want to see its result on report with the help of print layout design.

    In addition to Tuvia's answer, here is the printing procedure of query PLD:
    Printing User-Defined Queries
    Use
    After you have linked a user-defined query to a user report template, you can print it according to its linked print layout.
    Procedure
    To print a user-defined query, use one of the following two procedures:
    Using the Query Print Layout window:
    1. Choose Tools u2192 Queries u2192 Query Print Layout.
    2. Choose the Reports tab page and select the query you would like to print.
    3. Choose File u2192 Print.
    The user-defined query is printed according to its linked print layout.
    Using the Queries Manager window:
    1. From the toolbar, choose with the quick info text Queries Manager.
    2. Select the query you would like to print.
    3. Choose File u2192 Print.
    The user-defined query is printed according to its linked print layout.
    You can also display a print preview for user-defined queries. To do so, choose File u2192 Print Preview.
    Printing User-Defined Queries with Variables
    Use
    When a user-defined query contains variables, its linked print layout will also display the variables data and print them.
    In the print layout linked to that query, you can see that an additional area containing the condition's parameters was added
    There is pdf file relate to Query PLD in  the SAP service marketplace website.
    Rgds,

  • How to use query-result as a new query-fiter

    HI, All
    Is it possible to execute sub-query filtererd by the pre-query-reslted lists ?
    As far as I investigated, only way to do is that I combine two suject-areas by using set operations like "Union" or around.
    But in this way, there is an impractical restriction to define these datatype and column in common. (namely, "Union" conditions)
    I just want to query filtered by ex-query-results at anytime; for example, I extract a customer lists by one query and use various analysis in the group of customer list.
    Please give me some advise.
    Regards

    First create a Request with your FilterQuerey. Secund Create a Request und create a Filter. Under Advanced you will find the path to the first Requst. Than you can select the columns.
    Thats it :-)
    Stefan

  • How to use query in sap tm?

    I have tried to call the query method using service manager instance as shown below
    CALL METHOD lr_srv_mgr->query
         EXPORTING
           iv_query_key            = zif_viv_trq_c=>sc_query-root-test_query
    *     it_filter_key           = lt_filter
           it_selection_parameters = lt_filter
    *     is_query_options        =
    *     iv_fill_data            = ABAP_FALSE
    *     it_requested_attributes =
         IMPORTING
    *     eo_message              =
    *     es_query_info           =
    *     et_data                 =
           et_key                  = lt_trq_key.
    but  lt_trq_key is not getting filled .

    It seems that there is nobody meeting the same problem.
    I solved it by myself.
    An thanks.

  • How to use Query Builder in Oracle10g

    Since I'm new to Oracle , thus I'm facing some problem in some portions. When I went through the Query Builder option, actually I was not able to build the query as some of the features present in it were not clear to me like the "Condition" part and if I need to perform some join in it, how would that part work on it.
    Please reply and help me out. Thanks.
    Regards,
    Praveen Rai

    Query Builder is level 8.0, it's part of desupported developer 6i. Installation media has an online manual, which answers your questions. You should consider an alternative like SQLDeveloper. Query Builder may still work with 10g, but no guarantee.
    Werner

Maybe you are looking for

  • HELP IR Download filtered saved report to CSV

    Hi there My enquiry is to do with the saved reports feature in Interactive Reports Apex 4.1 I create a default IR report and then I subsequently define a filter on this report effectively limiting the displayed output to the rows of data I want to se

  • Dbx SEGV signal encountered while memory leak checking

    Good morning, Last week, I have encountered the following problem while debugging a UNIX Solaris on a SUN server: Running the program without memory leak checking goes fine. Running the program while memory leak checking gives following error message

  • Organizing iPhoto videos in iMovie?

    My videos in iPhoto (Taken with a regular camera) show up in iMovie under "iPhoto videos".  I have several single videos all in separate iMovie rows in the event Libraty screen, even though they were taken seconds apart form each other. Is there some

  • Paste in browse tab

    When I select one of the browse tabs for a piece of code and try to paste into the page (like in a text area), the paste may work depending on browser type (worked in IE tab, not firefox tab) but it also pastes in the source.

  • Catching TimedOutException from within JWS

    I have a web service method within a JWS file that may take long amount of time to process. Occasionally, this method will cause a TimedOutException. I've tried creating methods for all of the callback events outlined in the "Context.Callback" interf