Creating parameter based on Submit Date from Remedy ITSM

I am new to creating Crystal Reports and I am using Crystal Reports XI. I am pulling information from BMC Remedy ITSM through an ODBC connection. I have created a report from HPD_Help_Desk that pulls the Incident Number, Submit Date, Submitter, Owner and Description. I am not having any problems pulling the information from the tables. The issue that I am running into is creating a new parameter field that can be used so that when the people that will be running this report can pull information based on a date range of the submit date. When the report is run, it pulls the datetime from Remedy ITSM in a mm/dd/yyyy hh:mm:ss format with AM or PM on the end. I have created a parameter named Date Range that has a static list of values. The Type of the parameter is Date Time. The Value Field is Submit_Date. I have selected true for allowing custom values and allowing range values. The objective is to have the person running the report type in the datetime range such as Start of Range Value: 11/22/2009 00:00:00AM and End of Range Value: 11/28/2009 23:59:59PM so that they get all data for Incidents created from the start of the day on the 22nd to through the end of the day on the 28th providing 1 weeks worth of data. I know selection criteria can be used to run for the previous full week, but this will not help if people want to check on historical data. When the parameter is added to the report, it requests the datetime ranges be entered in a yyyy-mm-dd hh:mm:ss format. I have entered in datetime ranges and it will not filter the data. I receive data back for all dates even outside the range requested. I have attempted to change the format of the Submit Date within the report to match what the parameter is asking for and receive the same results. Any help would be greatly appreciated. Thank you in advance.

Thank you for the feedback Carl. Again, I am new to this, so please be patient with me. I am not sure what you mean about adding the parameter to the record selection formula. I have drug the parameter field into the report so that it will prompt for parameters before running, but I do not think that is what you are talking about. Please advise.
To your question about the Submit Date field in the report, when I open up the report and I point at the field for Submit Date the popup shows HPD_Help_Desk.Submit_Date (DateTime). That being the case, I think the answer to your question is that the data type of the data being returned is DateTime. Thanks again for the assistance.

Similar Messages

  • How to send a mail automatically based on a date from ORACLE database

    Hi,
    I want to send a mail automatically based on a date from ORACLE database.
    Please help me.
    thanks
    --Sara                                                                                                                                                                                                                                   

    programs are available on net to send mail directly from oracle ie procedure s in oracle sending mails

  • How to submit data from multiple Input Ports in single SUBMIT button  click

    Hi,
    I am in SPS8.
    What exactly steps I need to perform to submit data from multiple Input Ports.
    I couldn't able to submit One input Form and one Input Table to BAPI data service in single SUBMIT button click.
    I debugged the VC application in SPS8.
    While debugging, I found that when I click the SUBMIT button in the Input Form, Only data in that Input
    form are being passed to the BAPI, But not the Table Form data.
    If I click on the SUBMIT button in another Input Table, Only data from that table is being passed to the BAPI, but not the Input form data.
    Essentially I need to submit both of them in one SUBMIT button.
    Thanks,
    Ramakrishna

    Ramakrishna,
    From the word document that you sent to me the steps you are missing to map the appropriate information into the BAPI is first you are not mapping all data rows into the table input port. To do this double click on the input table view and change your selection mode from single to multiple. Then when you click on your link between the BAPI and your input table you will see a new option appears under data mapping "Mapping Scope" select All Data Rows.
    That's the first part of the problem to get the BAPI to recognize both the inputs coming from the form and the table eliminate the submit button from the form. Drag and drop a link from the output port of the table view to the Input port of the BAPI. Double click on the link between the BAPI and the table view and open the expressions editor for the two fields:
    1/ Automatic Source
    2/ SKIP_ITEMS_WITH_ERROR
    On the hierarchical folder structure on the right expand expand the Data Fields node to find the fields from the form and map them accordingly.
    Now when you hit the submit button on your table it should pass the BAPI all the parameters from both the form and the table.
    Hope this helps,
    Cheers,
    Scott

  • I need to restrict users to submit data from Smart view or Excel Addin.

    Hi All,
    I need to restrict users to submit data from Smart view or Excel Addin.
    I cant provision them as read access because I want them to write from the Hyperion Planning Web Form.
    Any help on the same will be highily appriciated.

    John,
    Thanks for the reply . if i dont give them essbase write role user cant submit data through smartview or Excel addin. at the same users want to see adhoc reports making connection in smartview through planning, then users can send data.
    1. I want users to restrict export dataform to smartview, if they can export dataform to smartview it automatically makes connection using planning and users can pretty much change data.
    2. is there any way to restrict users making connection through planning in smartview.
    3. when users make smartview connection through essbase, the secuirty works fine and they cant change the data.
    Please let me know if you any solution ....
    advance thanks,
    NM

  • 7.0 Create forms based on Access data -David O'Hanlon are you there?

    Hi - Using a pdf created using LiveCycle 7.0<br /><br />I'm trying to create xFDFs using data from an Access database.  The xFDF should then be e-mailed to users who fill out the forms and return xml files by e-mail.  I then parse out the xml in to SQL Server using VBScript.<br /><br />The problem is that setting the value isn't working.  The real form is based on an XML schema & is more complicated, so Here's the xfdf I'm trying to create for a simple test:<br /><br />================================================================<br /><?xml version="1.0" encoding="UTF-8"?><br /><xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"><br />     <fields><br />          <field name="Identifier"><br />               <value>CRAP</value><br />          </field><br />     </fields><br />     <f href="C:\Documents and Settings\kirkenda\My Documents\ReviewerForm\form.pdf"/><br /></xfdf><br />===============================================================<br />The pdf form only has one field, Identifier.  The xfdf will open in reader, but the value isn't set to CRAP.  This type of thing works in forms created using Acrobat 6.0, but I can't get it to work with the forms I've created using LiveCycle Designer 7.0 that comes with Acrobat 7.0.     I'm thinking of uninstalling 7.0 and reinstalling 6.0, as I've hit a wall at every turn to try to pre-populate a form.<br /><br />Has anyone been able to do this in 7.0?<br /><br />Any comments at all - ANYTHING! would be welcome.<br /><br />Thanks -- Ginger<br />(posted to the Acrobat forum by mistake)

    I have a vital form that clients fill out, which is passed to many people in the company along the workflow. The form is a Planner and we have in the following PDF, Word Doc..
    Well before, the Planner.pdf was originally created in Word, since most people have access to Word.. but evolved to a PDF form created from the Word Doc via Adobe LiveCycle Designer 8.0 w/ User Rights enabled so that the form could be filled out and saved using Adobe Reader.. which was a step better than Word.. being that it is free. But this needed to be easier and more to the point b/c some clients don't particularly like installing the latest version of Reader, even if you provide them the link. Nor do they like saving the form, filling the form, and attaching the form to send back.
    My goal is to have the client fill an HTML version of the form, submit and be done with it, but everyone in the workflow be able to easily receive the filled Planner as a PDF form.
    So some months ago I ran into this post Chris Trip, "Populate Livecycle PDF from mySQL database using PHP" #8, 22 Sep 2007 4:37 pm
    which uses the command line Win32 pdftk.exe to merge an FDF file into an existing PDF on the remote server, and serve this to whoever.
    My problem was with shared hosting and having the ability to use the Win32 pdftk.exe along with PHP which is predominantly used on Linux boxes. And we used a Linux box.
    so i created the following unorthodox method, which a client fills the HTML version of the Planner, all field values are INSERTED into a table in MySQL DB, I and all filled planners that have been filled by clients to date can be viewed from a repository page where an XML file is served up of the corresponding client, but someone would have to have Acrobat Professional, to import the form data from the XML file into a blank form.. altoughh this is simple for me.. I have the PHP file already created so that when a Planner is filled and client submits. >> the an email is sent to me with a table row from the repository of the client name, #, email, and a link to d-load the XML file,
    But I also have the PHP files created so that the Planner can be sent to by email to various people in the workflow with certain fileds ommitted they they do not need to see, but instead of the XML file beiong served up i need the filled PDF Planner to be served.
    I can do this locally with ease on a testing server, but I am currently trying to use another host that uses cross-platform compatibility so i can use PHP and the pdftk.exe to achieve this, as that is why I am having to serve up an XML file b/c we use a Linux server for our website, and cant execute the exe.
    Now that I am testing the other server (cross-platform host), just to use them to do the PDF handling (and it's only $5 per month) I am having problems with getting READ, WRITE, EXECUTE permissions..
    Si guess a good question to ask is can PHP do the same procedure as the pdftk.exe, and i can eleminate it.
    or how in the heck can i get this data from the DB into a blank PDF form, like i have described??
    here are some link to reference
    Populating a LiveCycle PDF with PHP and MySQL
    http://www.andrewheiss.com/Tutorials?page=LiveCycle_PDFs_and_MySQL
    HTML form that passed data into a PDF
    http://www.mactech.com/articles/mactech/Vol.20/20.11/FillOnlinePDFFormsUsingHTML/index.htm l
    and an example
    http://accesspdf.com/html_pdf_form/

  • Dynamic parameter - Failed to retrieve data from the database

    I'm running  a report with dynamic parameters and this report ran successfully for 2 days . For no apparent reason they stopped and the error message was received.  There was no interference from head office soI'm at a loss to explain why the viewer / reports suddenly stopped working.
    Now  I get the following message:
    Prompting failed with the following error message:
    'List of values failure: fail to get values. Cause of error: Failed to retrieve data from the database. Error in file UNKNOWN.RPT: Failed to retrieve data from the database.'
    Error source: prompt.dll Error code: 0x8004380D
    The report is running on a Oracle database using CR-Viewer XI Product version 12.01.1.r228_v20071114
    I know there is a problem with dynamic parameters and citrix, but this is not run on citrix.
    Please help anypne
    Edited by: tstegen on Sep 30, 2009 2:48 PM

    Is this report based or Enterprise based LOV?
    If you have report published to BOEnterprise, then it automatically creates a chain of objects for any dynamic parameter:
    Data Connection,
    Data Foundation,
    Business View,
    Business Element
    and LOV.
    Each of this objects have configurations like users rights, permissions and some have logon configuration. Failing any of those elements may cause LOV to fail.
    One of the tests you may try is to test relevant Business View by connecting Crystal reports to it.
    Are you familiar with Business View Manager?

  • Set default values for StartMonth and EndMonth Parameter based on value selected from the previous parameter(Not cascading)

    I have a scenario where it has multiple parameters like.....
    Period which consists of "Year,Quarter,Month" as a values.
    When user selects "Year" value in "Period" Parameter then "FromMonth" has to set its default value as 36th month from now.
    Example: If user selects "Year" then "FromMonth" has to show "April-11".
    When user selects "Year" value in "Period" Parameter then "EndMonth" has to set its default value as current month.
    Example: If user selects "Year" then "FromMonth" has to show "March-14".
    If user selects "Month" Value in "Period" Parameter then it has to allow user to select the Month Range and again if user selects "Year" value in "Period" Parameter then StartMonth has to show 36th month from now and
    End Month has to show current month.
    Please help me how to resolve this issue.
    Thanks in Advance.

    Hi  Vasu_479,
    First, you need to create a dataset to set the StartDate and EndDate parameter's value using the query provided by Visakh. And then use the StartDate and EndDate parameter to filter the data in MDX query. Here is a sample query for your reference.
    select
    {[Measures].[Internet Sales Amount]
    } on columns,
    {[Date].[Date].members} on rows
    from(
    select
    STRTOMEMBER("[Date].[Date].&["+@StartDate+"]"):STRTOMEMBER("[Date].[Date].&["+@EndDate+"]")
    ) on columns
    from [Adventure Works]
    Hope this helps.
    Regards,
    Charlie Liao
    TechNet Community Support

  • How to create a view consisting of data from tables in2 different databases

    Using Oracle 10.2g
    I have 2 databases Gus and haggis on Comqdhb schema.
    glink indicates a databse link between Haggis and Gus
    In Gus there are tables student,subject,grade,school containing columns like upn...
    STUDENT
    upn
    academicYear
    SUBJECT
    subject
    GRADE
    examlevel
    grade
    SCHOOL
    sn
    In HAGGIS there are tables student,grade,teacher containing columns upn...desc below.
    STUDENT
    upn
    GRADE
    grade
    upn
    academicyear
    level
    Create view in your HAGGIS database which will join all of the exam grades together. You should have one view which will produce the following relation :
    examGrade(upn, subject, examlevel, sn, grade,academicYear)
    so I need to create a view which gets the data from both the tables in both the databases.
    create view as examGrade(upn, subject, examlevel, sn, grade,academicYear) as select s.upn
    But i am not getting how to select a column from 2 tables in different databases
    I mean if i said
    select upn from comqdhb.student@glink,comqdhb.student;
    select upn from comqdhb.student@glink,comqdhb.student
    ERROR at line 1:
    ORA-00918: column ambiguously defined
    help me out,Thank you.

    Thank you for the reply will follow up the code format
    Create views in your HAGGIS schema database which will join all of the exam grades together. You should have one view which will produce the following relation :
    examGrade(upn, subject, examlevel, sn, grade,academicYear)
    I understand that there wont be duplication when we use conditions
    If i query
    select count(upn)
    from   comqdhb.student@glink I get 9000
    but after the union
    create view examGrade(upn, subject, examlevel, sn, grade,academicYear)
    as
    select distinct s.upn as upn
    ,                  g.subject as subject
    ,                  g."LEVEL" as examlevel
    ,                  g.grade as grades
    ,                  '9364097'
    ,                  to_number(g.academicyear) as academicyear
    from             comqdhb.student s
    ,                   comqdhb.grade g
    where           s.upn=g.upn
    union
    select            s.upn
    ,                   sb.subject
    ,                   g.elevel
    ,                   g.grade
    ,                   s.acyr
    ,                   sc.sn
    from              comqdhb.subject@glink sb
    ,                   comqdhb.student@glink s
    ,                    comqdhb.gradevalues@glink g
    ,                    comqdhb.school@glink sc,
    ,                    comqdhb.studentingroup@glink sg
    ,                    comqdhb.teachinggroup@glink tg
    where            sb.sid=tg.sid
    and                tg.gid=sg.gid
    and                sg.upn=s.upn
    and                g."LEVEL"=tg.elevel
    and                s.school=sc.id
    and                sc.id=tg.id; returns
    count(upn) from exam gradeIt gets stuck actually sometimes it returns
    932002 some results.
    2:
    Another problem i am having which i am trying to solve and written up my ideas but haven't been getting the expected results.Hope you can help.Thank you.
    Information:
    =======
    All children take exams at the age of 16 called a General Certificate of SecondaryEducation (GCSE).
    They have to study and take exams in Mathematics, English and Science, and can take other subjects such as History, French, Art etc. Most students will study between 5 and 10 different subjects before taking their GCSEs.
    For each exam, a student is awarded a grade from A*, A, B,C,D,E,F,G,U,X An A* grade is the best grade achievable and an X is the worst grade.
    In order to analyze how students have performed, each grade is mapped to a numeric value as follows:
    Grade Numerical score
    A* 8
    A 7
    B 6
    C 5
    D 4
    E 3
    F 2
    G 1
    U 0
    X 0
    Now why i need this avgGCSE is because i have to create a view containing avgGCSE of the students it is used in the next question where a condition is avgGCSE is between 6.5 and 7
    In order to calculate the avgGCSE the idea is to calculate the grades of the students and map the grades to their corresponding scores/values
    add them all up and div by the total no of grades to get the avg.
    desc comqdhb.STUDENT@glink;
    STUDENT
    =======
    UPN
    FNAME
    CNAME
    DOB
    GENDER
    PREVIOUSSCHOOL
    XGCSE
    SCHOOL
    ACYR
    STUDENTINGROUP
    =============
    UPN
    GID
    STARTDATE
    ENDDATE
    GRADE
    GRADEVALUES
    ===========
    GRADE
    LEVEL
    VALUE
    I have a opinion that xgcse in STUDENT table refers to the avgGCSE which i want to calculate as when i asked my professor as to what xgcse he said that he forgot to take it out of the table and it is not necessary while creating avggcse.
    select *
    from comqdhb.student@glink
    where xgcse<6.5; Displaying a result
    returns:
    UPN FAMILYNAME COMMONNAME DATEOFBIR GENDER PREVIOUSSCHOOL XGCSE SCHOOL ACYR
    ===========================================================================
    1011 KIMBERLY ABBOT 07-JUL-79 f none 3.93500948 2 2
    select *
    from comqdhb.student@glink
    where xgcse between 6.5 and 7 and upn = 1386; Displaying a result
    returns:
    UPN FAMILYNAME COMMONNAME DATEOFBIR GENDER PREVIOUSSCHOOL XGCSE SCHOOL ACYR
    ===========================================================================
    1386 STEPHANIE AANNESSON 15-JAN-79 f none 6.88873 2 2 so if xgcse is the avgGCSE then upn 1011 has avggcse<6.5 and 1386 has avggcse >6.5
    my idea was backward strategy like so now if we find out upn 1368 has suppose xgcse(avggcse)>6.5 how to extract the avggcse for the particular upn We need to map grades from GRADEVALUES to grade in STUDENTINGROUP and map upn from studentingroup to upn in student to output the values for the corresponding grades from GRADEVALUES
    select grade
    from comqdhb.studentingroup@glink
    where upn = 1011;
    Result:
    GRADE
    =====
    D
    F
    B
    E
    C
    E
    E
    B
    8 rows selected. Mapping each grade to the corresponding value and calculating we get
    32/8=4 total(values to corresponding grades)/no of grades.
    But the xgcse for upn 1011 is 3.935 and i am getting 4!! maybe xgcse isn't avggrade but ? is the procedure by me correct for calculating avggcse
    select grade
    from comqdhb.studentingroup@glink
    where upn = 1386;
    Result:
    GRADE
    ======
    A*
    A*
    A*
    A*
    B
    A*
    A*
    A
    B
    B
    B
    11 rows selected. grade to the corresponding value and calculating we get
    79/11=7.12 total(values to corresponding grades)/no of grades.
    But the xgcse for upn 1011 is 6.88... and i am getting 7.12!!
    But another problem
    when i say
    select   g.value,g.grade
    from     comqdhb.gradevalues@glink g
    ,        comqdhb.studentingroup@glink sg
    where    g.grade=sg.grade
    and      sg.upn=1011;
    result:
    ======
    VALUE GRADE
    ===========
      100 B
      100 B
       80 C
       60 D
       40 E
       40 E
       40 E
       20 F
        6 B
        6 B
        5 C
    VALUE GRADE
    =============
        4 D
        3 E
        3 E
        3 E
        2 F
    16 rows selected.
    select   distinct g.value,g.grade
    from     comqdhb.gradevalues@glink g
    ,        comqdhb.studentingroup@glink sg
    where    g.grade=sg.grade
    and      sg.upn=1011;
    result:
    ======
    VALUE GRADE
    ============
         2 F
       100 B
         6 B
         3 E
        60 D
         5 C
         4 D
        80 C
        40 E
        20 F
    10 rows selected. I am getting only 8 for the query
    select grade
    from comqdhb.studentingroup@glink
    where upn = 1386; here its becomming 10 and also its displaying values as 100 and ...
    select distinct *
    from   comqdhb.gradevalues@glink;
    GRADEVALUES
    ===========
    LEVEL      GRADE           VALUE
    ================================
    a          A                 120
    a          B                 100
    a          C                  80
    a          D                  60
    a          E                  40
    a          F                  20
    a          U                   0
    a          X                   0
    g          A                   7
    g          A*                  8
    g          B                   6
    LEVEL      GRADE           VALUE
    ================================
    g          C                   5
    g          D                   4
    g          E                   3
    g          F                   2
    g          G                   1
    g          U                   0
    g          X                   0
    18 rows selected. I was hoping if i could map the grades and get the values and calculate avggrade by total(values)/count(values)that would be it but here there are values like 100...
    select  sum(g.value)/count(g.grade) as avggrade
    from    comqdhb.gradevalues@glink g
    ,         comqdhb.studentingroup@glink sg
    where  g.grade=sg.grade
    and     sg.upn=1386;
    avggrade
    ========
    37.4375 the avggrade cant be this big and when i map each grade i obtained for 1368 like a to 7+b to 6 so on i get avggrade 7.12
    kindly help.
    Edited by: Trooper on Dec 15, 2008 4:49 AM

  • How can I create a diagram where equal data from different cells will be added to one sector?

    Hi,
    I'm a new Mac user, so I have a lot of problems and questions every day. Moving to Mac from PC is not an easy thing)
    Here is my problem:
    I need to create a few diagrams for my science work, but can't correct one mistake. Every time one data from one cell from the table takes its own place in the diagram. But I need to ceparate equal data to show it is one section.
    An example:
    Sex
    Age
    Female
    18
    Female
    18
    Female
    18
    Female
    25
    Female
    30
    We need to create a diagram to show that we have
    60% - 18 years
    20% - 25 years
    20% - 30 years
    But Numbers doesn't show it that way. Here how it does:
    So please help me. How can I do that?

    Hi ProCauda,
    Some example data of people and their age:
    The COUNTIF function will give the number of people of each age.
    In another table, B2 contains this formula (and Fill Down to the bottom of B)
    =COUNTIF(Table 1::B,"="&A2)
    In this example, 3 people are 18 years old, 0 people are 19 years old, and so on. Use this table to calculate each age as the % of the total, then use that as the data for your diagram (graph, chart).
    Regards,
    Ian.

  • OutLook 2007 Macro to create Folder Based on Received Date

    Dear All,
    Is it possible to create a macro which will automatically create a folder based on Received Date of the mail and then group these mails (in folders) based on the received month….
    Can someone help me with the VBA Coding for Outlook 2007, where I select a folder and the macro creates folder’s and subfolder based on the received month and date-wise folder (based on the received date of the mail).
    Thanks...

    Yes, it is possible, but why would you want to split up your emails like that?
    Note that you can also do a simply search query to find all emails received within a certain month. For instance, when you want to see all emails which you received in July 2013 type the following in the Search Field:
    received:(July 2013)
    For more information about using Search within Outlook see:
    http://www.howto-outlook.com/howto/searchcommands.htm
    Robert Sparnaaij
    [MVP-Outlook]
    Outlook guides and more: HowTo-Outlook.com
    Outlook Quick Tips: MSOutlook.info

  • Submit data from internal table to standered program RPTBPC10.

    Dear Friends,
    How to Pass parameter of personnel number to standard SAP program RPTBPC10 from a Customize  report . After program execution return the program control to Y program and capture the data from pa2001for infotype 2001 and infotype 2006.
    and send mail to user by costomize report.

    Please see the link:- [Re: Call Program from another Program using varient|Re: Call Program from another Program using varient]

  • Creating report based on master data

    Hi Guys,
    I want to create a specific report based on master data in BI cube. for example... a report which takes cost center and period as variable and display expenses for that period and cost center. This report I want to create for all cost center in BI database separately. any idea how can we do this?
    There are 2000 cost centers and I need to print/send 2000 reports one for every cost center.
    If I store all cost center in excel file, can it be easier?
    broadcasting and creating 2000 schedule - not option.
    Thanks..SM

    Hi  stuti misra,
    Create ONE Query with selection Cost Center and Period are inputs.
    Create text variables for Cost Center and Period and add in Query Description.
    After query execution you can see description based on selection in workbook or webtemplate.
    Hope it Helps
    Srini
    [Dont forget to close the call by assigning poings.... - Food for Points: Make a Difference through Community Contribution!|https://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/007928c5-c4ef-2a10-d9a3-8109ae621a82]

  • Create report based on JSON data

    Dear All,
    I'm on Oracle APEX 4.1 and Oracle 11g. I'm receiving JSON data in my application and would like to print report based on JSON data without storing it in any table.
    Can you please suggest best way to achieve it?
    Regards,
    Chintan

    Hi,
    in 4.1 you can for example use the open source PL/JSON library (http://sourceforge.net/projects/pljson/) to parse JSON.
    In APEX 5.0, we currently plan to add a JSON API package that e.g. can be used to convert JSON to XML. Here is an example:
    SQL> select col1, col2
      2  from xmltable (
      3      '/json/row'
      4      passing apex_json.parse('[{"col1": 1, "col2": "hello"},{"col1": 2, "col2": "world"}]')
      5      columns
      6          col1 number path '/row/col1',
      7          col2 varchar2(5) path '/row/col2' );
                    COL1 COL2
                       1 hello
                       2 world
    At the last OOW, it was also announced that the RDBMS will provide native support. That should be the preferred option in the future.
    Regards,
    Christian

  • Create a trigger to copy data from table A to table B

    Hi,
    I been trying with no success to create a trigger on table a , so when the user update or delete or insert data on that table, I would like to copy all data from table a to table b BEFORE, the statement execute, I am using Oracle database 10g XE. It's URGENT and I would appreciate any quick response.
    Thank you in advance.

    > All what I needed to do is to copy / beckup the tableA before any changes done to the table
    Why? You are not giving us a problem to look at, analyse, and assist with - you are giving us a solution. That solution says "backup table before changes are made".
    This solution sounds very strange in the context of a RDBMS. Even stranger when dealing with relational design as one would use date and time to keep track of how data is changing.
    This, and your implementation of the solution (using triggers and DDL inside it!), makes me question whether this solution is indeed at all a solution. I see flaws and problems all the way.
    What happens if two users inserts at the same time into table A? Two truncates will be fired on table B. Then the entire contents of A (and not the changes) inserted into table B? Ridiculous...
    Thus from my point of view, looking at what you have presented to the forum in this thread, you do not seem to have any grasp on how to correctly use a RDBMS, never mind use Oracle.
    Ignorance is not a problem. It is fairly easily curable. Which is why I referred you to the manuals.
    Alternatively, instead of asking the forum how to make a flawed solution works, how about instead telling us the actual problem you are trying to solve?

  • Creating Rule file to pull data from OCI Interface

    Hi.
    I am new to OCI, I have worked on DSN method earlier to pull data from database.
    Can someone give me steps of how to pull data from OCI interface.
    My database is Oracle 11gR2 and I am using 11.1.2.2 Fusion version.
    Regards
    Mahesh Balla

    The following post may help - Re: Essbase Rules Files and OCI
    There have been a number of issues relating to data and using OCI, I am not sure whether they are all resolved in 11.1.2.2 so if you are using OCI make sure you validate the data once loaded into essbase.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • Most of My Music Won't Sync

    I'm having an issues with Itunes and all of my devices. I have over 12,000 songs in my itunes library. All of these songs will currently play fine in itunes and I can listen to them on my computer - no issues. I used to be able to take any of these s

  • Problem reg variables in BEX

    Hi Gurus, I am doing sales trend reporting in bex....I have 4 key figures which all gives sales Amt created using some variables. my Selection creteria is  calmonth/Yr Key fig 1 - should show the sales of selected month Key fig2 - should show the sal

  • How do I get flash movie controller to show up.

    I have published a flash movie to "Mobile Me", the movie works as it should but the controls do not show up. I have placed the movie.flv file along with a movie.swf file and a "SkinUnderAllNoVolNoCaptionNoFull.swf" file all in the same folder. The fo

  • After mountain lion install and reinstall, still no toolbar in windows

    It cannot be added either, you get shadows instead of toolbar default options which should be there already anyway. I reinstalled from a redownloaded version same issue. Apple claims the powermac I am using is compatible with mountain lion. Has anyon

  • Photoshop CS4 prob.

    Ok so i have been using Ps for a year now and now the program is acting up on me. all the features work except for whenever i try to use the text tool. The program crashes. Any help will be appreciated.