How to export user using date range

Hia , i am using Oracle10g my object to export user (pibs) all tables in pibs have
created_date column
i wan to export user pibs using date range created_date between 01-jan-07 and 05-jan-07
pls help me

Check out the QUERY clause.
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#CEGFIAGE
If you're using Datapump, check out Filtering during export operations.
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_export.htm#g1022624

Similar Messages

  • How to export user master data in SAP HANA?

    We have a HANA server SP7 and we need to migrate it to a new server which will also be HANA SPS7. However the backup/restore approach is not to be used as confirmed by client. We are going to perform a export/import of all the important schemas. The question here is how to take an export of the users and roles in this scenario

    Hi Meenu,
    As Michael mentioned you can't export roles and users in a general way.
    To add to it, you can always export users and roles if they are created used development workbench. That means if your developer has created any repository roles or users using development workbench or WebIDE you can export them by assigning those roles/privileges to a package/delivery unit. Make use of studio/HALM/CTS for that.
    However to export users and roles created by admin workbench using gui can't be exported.
    Happy HANA
    **Deepak Chodha

  • How to export sap bi data in to oracle bi

    Hi Experts,
    How to export sap bi data in to oracle bi. what is the connection used for this .
    Plz assist me,
    Thanks & Regards,
    P.Swaroop.

    Hi Swaroopsagar  ,
       When you need to transfer data from SAP BI system to other Target systems,lets say Oracle BI.
    SAP BI would become the source system and Oracle Bi sould be the target system. In this case I would suggest you to use Open hub provided by SAP BI.You have the option of specifying the Open Hub destination as
    1. Database table.
    2. Falt file
    3. Third party tool.
    The onus of extarcting the data from SAP BI ssytem into ORACLE BI system sould vest with the Target system. Open Hub can provide a suitable destination , once this is done it is upto to the target system to extract data by connecting to this destination....
    Regards,
    James Harold.

  • WFM export user/schedule data

    Hello, all. Does anyone know how to export WFM (not QM) user/schedule data out? We have WFM 8 and want to export user/schedule data out to integrate with a third party reporting application. I've looked through a few of the WFM tables but couldn't figure out which tables contain those data. is there a DB schema manual? Does anyone know how to export the data out?
    Thanks.

    Hello,
       If Simpliciti is a Calabrio partner, they should have access to their portal.  In their portal they have the QM and WFM schema guides. 
    HTH,
    Chad

  • Creating report based on user selected Date Range

    Hello.
    I am trying to display an Apex report that selects data for the report based on a user entered date range.
    It's a simple page with two date picker fields (p18_start and p18_end).
    The report region SQL looks like this:
    SELECT *
    FROM prj_items
    WHERE LM_DT BETWEEN :p18_start AND :P18_end
    One table, one field on the table to search and two Apex variables.
    I thought this would be fairly simple, but I am obviously missing something.
    I not even sure what other information is needed to help me figure this out.
    -Jody

    Hi,
    You can set defaults for the datepickers if you need to - this could be done in a computation on the page for each item and conditional on the item being null.
    When I've done something similar to this, I've created two hidden page items - eg, :P19_FIRST_DATE and :P19_LAST_DATE and populated these with the earliest/latest date that the user could reasonably select (perhaps, in your case, the MIN(LM_DT) and MAX(LM_DT) values).
    Then your SQL would be:
    select * from PRJ_ITEMS
    where LM_DT BETWEEN TO_DATE(NVL(:P19_START,:P19_FIRST_DATE), 'DD-MON-YY')
    AND TO_DATE(NVL(:P19_END,:P19_LAST_DATE), 'DD-MON-YY')If you don't want to set default dates, you could do something like:
    SELECT * FROM PRJ_ITEMS
    WHERE (:P19_START IS NULL AND :P19_END IS NULL)
    OR (:P19_START IS NOT NULL AND :P19_END IS NULL AND LM_DT >= TO_DATE(:P19_START,'DD-MON-YY'))
    OR (:P19_START IS NULL AND :P19_END IS NOT NULL AND LM_DT <= TO_DATE(:P19_END,'DD-MON-YY'))
    OR (LM_DT BETWEEN TO_DATE(:P19_START,'DD-MON-YY') AND TO_DATE(:P19_END,'DD-MON-YY'))There are various reasons why your two dates are being cleared when the page is reloaded. Firstly, you should check the branch that returns to the same page - make sure you are not clearing the cache for the page. Then, have a look to see if there is a "reset page" process (usually created for you when you create a form page). Then, check the Source settings for the items. Typically, these would be "Only when current value in session state is null" and a Source Type of "Static Assignment" with the "Source Value or Expression" left empty.
    Andy

  • How to alert user using BizTalk if a file is not dropped in a folder during a specified time using file adapter (or any other)

    Hi,
    I have a requirement wher the client wants BizTalk to alert users somehow when a file is not received at specific time. I am using a FILE receive adapter, the requirement is, if the FILE adapter does not receive a file on time then BizTalk should alert the
    users somehow. The client wants to use ESB toolkit to do this job.
    does anybody have any idea ?
    PLEASE HELP
    Thanks & Regards
    Vikram

    Duplicate Thread.
    Follow here:
    https://social.msdn.microsoft.com/Forums/en-US/3e314d17-8b0c-451c-921a-65dbab0612a8/how-to-alert-user-using-biztalk-if-a-file-is-not-dropped-in-a-folder-during-a-specified-time-using?forum=biztalkgeneral

  • How can we import object from 1 user to another user using DATA PUMP

    hi,
    i have taken full export by EXPDP( data pump) now i want to import user objects from target user of one database to another user of different database.
    plz reply me solution
    Thanks

    Hi,
    impdp 'user/user@db' DIRECTORY=DATA_PUMP_DIR(DEFAULT) DUMPFILE=FILENAME.dmp LOGFILE=IMPORT.LOG REMAP_SCHEMA=SOURCE SCHEMA:TArget SCHEMA
    1.Before Import check whether user importing has read,write on directory.
    2.Always Try to Add logfile clause This will help.
    3.Add TABLE_EXISTS_ACTION=REPLACE if you want target schema tables to be replaced by source schema table(if both has same table)
    Regards,
    NEerav

  • How would you send a date-range parameter to a SQL sproc?

    Team,
    MY ENVIRONMENT
    SQL 2005, Crystal Reports for Visual Studio 2005
    MY PROBLEM
    I am authoring both a sproc and a report, so I have full control over the design. I am a SQL expert and also a Crystal 8.5 expert.
    I have done the Sproc-Report connection dozens of times.
    Please consider along with me the sequence of creating a report based on a parameterized stored procedure.
    My sproc header is shown here:
    CREATE Procedure dbo.usp_DocumentActivityReport(
         @Department NVARCHAR(50)      
       , @DateRange  NVARCHAR(50)
    ) AS
    SELECT Col1, Col2, Col3 FROM #TEMP
    MY THOUGHT PROCESS
    @DEPARTMENT is a string. That's easy.
    @DATERANGE is a DATE RANGE and I don't know how to get Crystal Reports to prompt for a date range, so I used a String parameter knowing I can parse a specially formatted string, and knowing that I can use a formula to compute the string.
    Step 1. Create the blank report, the {?Department} parameter, the {?CreationDateRange} report parameter, and the {@DateRangeText} conversion formula that converts {?CreationDateRange} to the specially formatted string.
    Step 2. Test the stored procedure.
    Tests pass; It returns data when I run it with values, with zero-length string values, and with NULL values.
    Step 3. Tie the report to the stored procedure.
    Adding the sproc directly creates two hard-wired, undeletable parameters, and returns data columns. That's no good because the user must supply the specially formatted string for the date range. So, I try using Add Command instead, with this syntax:
    {call "EXP_TEST"."dbo"."usp_CorroDocumentActivityReport" (N'{?Department}', N'{@DateRangeText}')}
    This code is accepted, but Add Command did not create any undeletable parameters at all. I guess that's OK.
    But the worst part is that it does not show any output columns with data either! AAARGH!
    Please assist with showing me the proper order to do these steps.
    BTW, here's the VB Syntax formula for {@DateRangeText}:
    Dim min As String
    dim max as String
    if HasLowerBound ({?CreationDateRange}) then
      min = ToText(Minimum({?CreationDateRange}),"MM/dd/yyyy")
    else
      max = ""
    end if
    if HasUpperBound ({?CreationDateRange}) then
      max = ToText(Maximum({?CreationDateRange}),"MM/dd/yyyy")
    else
      max = ""
    end if
    if IncludesLowerBound ({?CreationDateRange}) then
      min = "[" & min
    else
       if HasLowerBound ({?CreationDateRange}) then min = "(" & min
    end if
    if IncludesUpperBound ({?CreationDateRange}) then
        max = max & "]"
    else
       if HasUpperBound ({?CreationDateRange}) then max = max & ")"
    end if
    'formula = min & "..." & max
    formula = "(1/1/2009...3/1/2009)"
    sorry ... cross-posted per Amit

    Ludek,
    It sounds like you and The specified item was not found. think along the same lines! I have cross-posted for both of you now!
    Please see Simple Sproc Parameters question
    ~ Shaun

  • Left outer join using date range returns too many rows

    I am trying to pull data for a website.
    Names table:
    company_name varchar2(30)
    julian_day varchar2(3)
    logins number(3)
    login_errors number(3)
    Given a julian date range (e.g. 250-252), I am displaying the information from the Names table.
    The problem is that I also need to display changes (increases/decreases) in the data. I do that by coloring the text based on a 10% increase/decrease. Data for the 3 days 250-252 would be compared to data for the previous 3 days 247-249.
    Not all companies will report data on all days, so some gaps in the data may exist. Therefore, I cannot do just a simple join.
    I am trying to write a query that will give me this information if the user chooses days 250-252.
    Company_name
    sum(logins) for days 250-252
    sum(login_errors) for days 250-252
    sum(logins) for days 247-249
    sum(login_errors) for days 247-249
    The query I'm using is:
    select cur.company_name, sum(cur.logins),
    sum(cur.login_errors), sum(old.logins), sum(old.login_errors)
    FROM names cur LEFT OUTER JOIN names old
    ON cur.company_name = old.company_name
    WHERE cur.adate>='250' and cur.adate<='252'
    and old.adate>='247' and old.adate<='249'
    GROUP by cur.company_name
    Given this data:
    Company_name adate logins login_errors
    ABC 247 10 10
    ABC 248 20 20
    ABC 249 30 30
    ABC 250 15 15
    ABC 251 25 25
    ABC 252 35 35
    My problem is that it returns:
    adate cur.logins cur.login_err old.logins old.login_err
    250 15 15 60 60
    251 25 25 60 60
    252 35 35 60 60
    How can I get it to only give me the one "old" day's data? I went with the LEFT OUTER JOIN because it's possible that there is no data for an "old" day.
    Thanks in advance.....

    Your problem stems from the join itself, and would be the same even without the OUTER JOIN. With your data, there are 3 records in cur and 3 records in old. The join matches each record in cur to each record in old resulting in 9 records in total. Without the SUM, this is clear:
    SQL> SELECT cur.company_name, cur.logins, cur.login_errors,
      2         old.logins, old.login_errors, cur.adate cad, old.adate oad
      3  FROM names cur LEFT OUTER JOIN names old
      4                 ON cur.company_name = old.company_name
      5  WHERE cur.adate>=250 and cur.adate<=252 and
      6        old.adate>=247 and old.adate<=249;
    COMPANY_NA     LOGINS LOGIN_ERRORS     LOGINS LOGIN_ERRORS        CAD        OAD
    ABC                35           35         10           10        252        247
    ABC                25           25         10           10        251        247
    ABC                15           15         10           10        250        247
    ABC                35           35         20           20        252        248
    ABC                25           25         20           20        251        248
    ABC                15           15         20           20        250        248
    ABC                35           35         30           30        252        249
    ABC                25           25         30           30        251        249
    ABC                15           15         30           30        250        249
    9 rows selected.You can do this with only one reference to the table.
    SELECT company_name,
           SUM(CASE WHEN adate BETWEEN 250 and 252 THEN logins ELSE 0 END) curlog,
           SUM(CASE WHEN adate BETWEEN 250 and 252 THEN login_errors ELSE 0 END) curerr,
           SUM(CASE WHEN adate BETWEEN 247 and 249 THEN logins ELSE 0 END) oldlog,
           SUM(CASE WHEN adate BETWEEN 247 and 249 THEN login_errors ELSE 0 END) olderr
    FROM names
    WHERE adate BETWEEN 247 and 252
    GROUP BY company_nameHTH
    John

  • Prompt user for date range

    Im working on a report that when it is opened by end user, i want it to prompt them for a date range. The report should only show records that fall between the date ranges entered.
    If i use the select expert and hardcode specific dates in, it works and only shows the records i want to see. However i cannot figure out how to set Crystal to prompt the user to enter the in DateTime and the to Date Time fields with Select Expert.
    Ive tried using a Parameter field, which it prompts for the date range, but still pulls up all records as normal. Its like it ignores the date range the user enters.
    The select expert shows this formula, the date/time is all zero's in this example.
    {SHOP_ORD\.REVISED_START_DATE} in DateTime (0, 0, 0, 00, 00, 00) to DateTime (0, 0, 0, 00, 00, 00)
    Please help

    Figured it out.
    Had to create two Parameter Fields {?StartDate} and {?EndDate}.
    Then used Select Expert, Formula Editor to modify the formula and set the in DateTime = {?StartDate} and the to DateTime = {?EndDate}
    This works. Just hide the Parameter fields and you have your range selector

  • Need JavaScript for Sharepoint Designer 2010, to show a Pop-up to all the users between date range and the redirect the site

    Dear all,
    I am very new to Sharepoint designer 2010. Its better to say, i am just stepping in.
    I have sharepoint site which is accessible for all the users to update few information. But i want this site not to be accessible during a date range, say from 15th to 20th of every month.
    I am planning to have something like this: If any user tries to access this sharepoint site between 15th to 20th date range of everymonth, then the browser must show an pop-up alert saying "This site is not accessible during this date range" and Redirect
    this sharepoint site to someother site (Say http:// somesitename.xx.com) immidiately.
    I know very little about how to add Javascript in sharepoint webpart.
    Please provide the Javascript or any best alternate solution to my concern.
    Thanks in advance.

    Hi,
    From your description, my understanding is that you want to redirect sharepoint site to another site between 15th and 20th every month.
    I agree with what Sudip says. If you still want to use JS code,You could try these steps
    below:
    Open your site with SharePoint Designer.
    Click Master Pages in left navigation.
    Find file v4.master, and backup it(it is very important).
    Right click your v4.master,
    choose "Edit File in Adavance Mode".
    Add the code below into the <head/> tag.
    <script src="https://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script><script
    type="text/javascript">
    $(document).ready(function(){
    var today = new Date();  
    var day = today.getDate(); // get current day
    var id = _spPageContextInfo.userid; // get the id of current logon in user
    var boolFlg = false;
    $.ajax({
       url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/SiteGroups/GetByName(\'"+"sharepoint Owners"+"\')/Users", //get users in a specified group can access the sharepoint site from 15th to 20th every
    month
       type: "GET",
       headers: {"accept": "application/json;odata=verbose"},
       success: function (data) {
          if (data.d.results) { 
             var src = data.d.results;
             for(var i = 0; i < src.length; i++){
                if(src[i].userid==id){ //check the logon in user in  the specified group or not
                   boolFlg = false;
                   break;
             if(!boolFlg){
                if(day <= 20 && day >=15){
                    alert("This site is not accessible during this date range"); // alert the message
                    location.href = "http:// somesitename.xx.com"; // redirect to another site
       error: function (xhr) {
          alert(xhr.status + ': ' + xhr.statusText);
    })</script>
    Best Regards
    Vincent Han
    TechNet Community Support

  • Spliting user entered date range into u201CFrom Date u201C and u201C To dateu201D-user exit

    Hi,
    In the query i have a created a popup variable for date range for which the processing type is customer exit. When the user exceutes the query he gets the popup for the date range with the default values. The default values are set one month backward.
    For example: if today is 5/19/2008, then the popup date range shows 4/19/2008 to 5/19/2008.
    Already there is an user exit written for the same.
    Now the requirement is i need to split From date and to date entered by user and use them in seperate selections to restrict the keyfigure in the keyfigure column of the query.
    Can anyone throw a light on this, how to go about?
    Shall i need to create two different variables from date and two date and populate the values, if yes how can i do that ?
    Thanks,
    Rani.
    Edited by: rani on May 19, 2008 10:22 AM

    Hello Rani,
                     Check this code,
    var1 is already existing variable with values from date and to date values.
    ztest1 is the first customer exit single variable,
    ztest2 is the second customer exit variable.
    ztest1 and ztest2 you can use these variables in the restricted keyfigures which you have mentioned.
    when 'ztest1'.
        if i_step = 2. "after the popup
          loop at i_t_var_range into loc_var_range
          where vnam = 'var1'.
            clear l_s_range.
            l_s_range-low = loc_var_range-low.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            append l_s_range to e_t_range.
            exit.
          endloop.
        endif.
    when 'ztest2'.
        if i_step = 2. "after the popup
          loop at i_t_var_range into loc_var_range
          where vnam = 'var1'.
            clear l_s_range.
            l_s_range-low = loc_var_range-high.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            append l_s_range to e_t_range.
            exit.
          endloop.
        endif.
    hope it helps,
    regards,
    karthik

  • Getting Error in Infoview while using Date Range Filter in SAP BW Universe

    Hi,
    I have created a date range Filter in My Universe
    <FILTER KEY= "@Select(Debit Memo Date\L01 Debit Memo Date)">
    <CONDITION OPERATORCONDITION= "Between">    
    <CONSTANT CAPTION= "[ZFDAY_MTH].[LEVEL01]"/>
    <CONSTANT CAPTION= "[ZCBDATE].[LEVEL01]"/> </CONDITION></FILTER>
    It was Parsed "OK" without any errors.
    When I used this filter in my report it does not return any records, while there are some records which I had verified earlier. When I include the two fields "[ZFDAY_MTH].[LEVEL01] and "[ZCBDATE].[LEVEL01] in My Report with the filter I am getting the following error -
    A database error occured. The database error text is: A pointer intended for use is NULL. pConstantOperand is NULL in SAPSQLExpressionEvaluator::getOperandsFromCondition, exception raised at line 125 of file source/sofasqlexpressionevaluatorbase.cpp. (WIS 10901)
    If I remove the filter and run the report , it gives me the expected results.
    Please help me if anyone has faced this issue earlier.
    Thanks ,
    Pankaj Goswami

    Hi,
    How about using this code.
    I have not tested but I think if we follow this syntax pattern, it might work
    <FILTER KEY="[Debit Memo Date\L01 Debit Memo Date].[LEVEL01].[TECH_NAME]"><CONDITION OPERATORCONDITION="Between"><CONSTANT TECH_NAME="@select(ZFDAY_MTH.LEVEL01','D',,mono,free)"/><CONSTANT TECH_NAME="@select(ZCBDATE.LEVEL01','D',,mono,free)"/></CONDITION></FILTER>
    Regards,

  • How to export user/schema WMSYS

    Trying to export WMSYS using datapump. Output is shown below. Need help....
    Schema is present and has procedure/functions/types [encripted]/tables etc.
    C:\>expdp system@orcl directory=data_pump_dir dumpfile=wmsys.dmp logfile=wmsys.log schemas=wmsys
    Export: Release 10.2.0.1.0 - Production on Tuesday, 21 November, 2006 16:53:32
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Starting "SYSTEM"."SYS_EXPORT_SCHEMA_01": system/********@orcl directory=data_pump_dir dumpfile=wmsys.dmp logfile=wmsys
    .log schemas=wmsys
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 0 KB
    ORA-39165: Schema WMSYS was not found.
    ORA-31655: no data or metadata objects selected for job
    Job "SYSTEM"."SYS_EXPORT_SCHEMA_01" completed with 2 error(s) at 16:54:15
    Also tried with exp. Below is output-
    C:\>exp userid=system@orcl owner=wmsys file=c:\oratmp\wmsys.dmp log=C:\oratmp\wmsys.log
    Export: Release 10.2.0.1.0 - Production on Tue Nov 21 17:42:41 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified users ...
    EXP-00010: WMSYS is not a valid username
    Export terminated successfully with warnings.
    Thanks and regards.

    I have created WMSYS at target but I wanted the objects, the procedures, functions, types tables etc. etc.
    I could get them from datadic using metadata package but most of these objects are encrypted. So I thought to export the user itself.
    Need suggestions and help.............
    Thanks & regards.

  • How to call user define data type as data type for concurrent parameter

    Hi All,
    i find some difficulty while creating the concurrent program.
    i.e.
    i have one of the parameter of table type i.e. user define data type at PLSql program
    now i need to register same PLSQL program into oracle applications as concurrent program
    but while i am creating Parameters for concurrent program
    How could i define that user define data type at database level in oracle applications using 'Value set' ?
    any one save me from this Problem
    thanks and Regards,
    sai krishna@cavaya.

    Don't think this can be done..
    One way I can think of is to wrap your PL/SQL program under another procedure/package that can accept "normal" parameter,and use/register this wrapper instead of your original pl/sql program.
    HTH

Maybe you are looking for

  • Can i import contacts from one browser to G mail?

    I have account in my country web. I also open account in Gmail. I have two questions 1-Now all my mails are coming to gmail account and i have to reply from gmail account. i did it by mistake to import all mails. All my replies are also coming in Gma

  • Where to buy TS-L633P DVD drive

    Hey guys, just like the title says, I'm in the market for a new DVD burner for my laptop. I have a P305D-S8834 Part number PSPD8U-005002 I currently have a TSST Corp. CDDVDW TS-L633P ATA Device (that's what it says in device manager) But for the life

  • Executing Procedures in sql Developer

    Hi , I'm new to SQL Developer and trying to explore the tool . I have written a procedure as create or replace PROCEDURE SAMPLE2 AS studName Varchar2(8) ; BEGIN SELECT Stud1.NAME INTO studName FROM Stud1 WHERE Stud1.NAME = 'SOM'; END ; It has compile

  • I have forgotten the password to my ipad

    I have forgotten the password to my ipad & dnt have a way to connect to itunes or a pc .... What do I do know ??

  • Printing TO in different warehouse

    Hi Experts, I have a transfer order created in Warehouse A. Now, the items were already transfered in WH B. But after checking, it was found out that some items do not have lables. I want to print labels of some items of the TO in Warehouse B. Both W