What is better Data Link or Formula Columns

Hi everybody,
in what case performance is better, to have lot of formula colums in the same query block or to have data linked queries for the same.
appreciate any suggestions.
Thanks
Tariq.

Hi Tariq,
Look up the "Tuning Oracle Reports" guide:- go to
http://otn.oracle.com/products/reports
Select "Getting Started..", click Index, and search on "Scalability and Performance"
Take a look at the following topic (page 17 of this guide)
'To Link or Not To Link'
Navneet.

Similar Messages

  • What is private data link?

    What is private data link?
    reg
    aak.

    If you don't explicitly create a public database link it is private, meaning that it is only available to the user who created it.
    This link might be interesting for you.
    MHE

  • Linking using formula column

    I've tried several ways of doing this, and this seems to be the easiest way. Basically, depending on the type of record, I need to use one of two columns to link to another query. So, if a row in query A has type 1, I need to use column X to link to query B. If a row in query A has type 2, I need to use column Y to link to query B.
    I thought the easiest way to do this would be to create a formula column in Query A that was the value of column X or Y as appropriate and then link to Query B using this formula field. However, I can't seem to link queries using a formula.
    Does anyone have any ideas how I can accomplish this? I'm new with Oracle reports, so go easy on me :)
    Thanks,
    Julie.

    What error are you getting?
    Is it: REP-1297: Data link child column 'CF_1' must be a database column?
    If so, the reason is the child column cannot be a formula column. The parent column, on the other hand, can be a formula column.
    If I understand your data model correctly, "A" is your parent query/group and "CF_1" is the formula column in query/group "A".
    "B" is your child query. "FK_1" (the foreign key column in query "B") is your child column.
    You should be able to link "CF_1" in "A" to "FK_1" in "B" by doing:
    - click on the link tool
    - click on "CF_1" in "A"
    - drag to "FK_1" in "B"
    - A link should be created. Double click on it to bring up the property palette for that link and you'd see the link properties.
    Hope that helps...

  • How do i find out  what is the data type of a column of a Table in oracle or SQL?

    a) What if i want to find out the  Datatype of a specific column in the Table.
    b) How do i find the Column Datatypes?
    Can anyone please help me. I am new to oracle and Trying to Learn some stuff

    Hi,
    How about doing
    SQL> desc <table_name>
    SQL> desc emp
    Name                                      Null?    Type
    EMPNO                                     NOT NULL NUMBER(4)
    ENAME                                              VARCHAR2(10)
    JOB                                                VARCHAR2(9)
    MGR                                                NUMBER(4)
    HIREDATE                                           DATE
    SAL                                                NUMBER(7,2)
    COMM                                               NUMBER(7,2)
    DEPTNO                                             NUMBER(2)

  • Data Link In Oracle Report

    Hi,
    What is the significance of group level data links in oracle reports?How is it different from data links that select column from each groups?
    Thanks

    Hi user;
    Please check below and see its helpful:
    [Link 1|http://download-west.oracle.com/docs/html/B10602_01/toc.htm]
    [Link 2|http://www.oracle.com/technology/software/index.html]
    [Link 3|http://download.oracle.com/docs/html/A73172_01/output/bawor_re.htm]
    [Link 4|http://www.softwaregeek.com/reports-oracle-10g/p1.html]
    Regard
    Helios

  • FR Conditional Suppression on Formula Column

    If I have 2 columns of data and 1 formula column taking the difference.
    Row 1 is Base of Custom1, with conditional suppression on formula column if difference is <$5m
    Row 3 is Total custom1
    Row 2 is Other (ie [3] - [1].sum)
    Row 1 suppresses fine, but row 2 returns zero as [1].sum is apparantly prcessed before the conditional suppression.
    I've tried this before with suppression on Data columns and it worked fine. Is there a solution to this?

    For best practice you should put any calculated rows as the last row, in your example I suggest you move the row 2 (the calculation row [3] - [1].sum) below row 3.
    FR seems to calculate each row in turn, moving down the report - therefore it can miss calculations which reference other values or calculations down the sheet.

  • FORMULA COLUMN ISSUE

    Does anyone know how to get a formula column. i.e., a date, to display on a report when the first query does not return any data (where the formula column resides) and the 2nd query does?
    When the first query returns data, the date appears on the 1st page (1st query results) and 2nd page (2nd query results), yet when the 1st query does not return any data, the second query page is without a date displayed.

    Hi,
    you can put your formula column in the second query (the query that always return data), I think.
    Bye
    Raffy

  • What is the formula to get document link in calculated column for document library ?

    Hello,
    would you please let me know the formula to get document link in calculated column ?
    Thanks and Regards,
    Dipti
    Dipti Chhatrapati

    hi Dipti,
    there is no column which contains the ItemURL.
    if you want a colum to have url than you need to create a workflow
    which calculate the ItemUrl and store it in custom column
    use the below article to do this
    http://www.sharepointusecases.com/2013/05/how-to-show-file-path-inside-a-sharepoint-document-library-view/
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • Syntax of formula column in data template

    Hi All,
    I am trying to generate XML output from Data Template. But I am struggling with how to implement formula column. I am using this syntax. But it is not working. Please anybody send me working formula column syntax.
    <element name="PO_NUMBER" value="PO_NUMBER" />
    <function name="CF_DUMMY" dataType="number" >
    <textSource>
    <! [CDATA [
    function CF_DUMMY return number is
    begin
    return 3;
    end;
    ]]>
    </textSource>
    </function>
    </group>

    The call is done directly in the query.
    In your Template header you can reference the database package to use this for example for triggers in your template:
    <dataTemplate .... defaultPackage="myPackage" ...>
    Then your Query looks like
    <sqlStatement name="Q_2">
    <![CDATA[select empno,ename,myPackage.cf_myformula(sal, comm) as Income from emp WHERE deptno=:abeilung]]>
    </sqlStatement>
    In your dataStructure Section you than can reference the formula like any other column
    <element name="INCOME" dataType="number" value="INCOME"/>
    Additionaly you can have triggers like before report trigger, where the logic is in the same database package:
    <dataTrigger name="beforeReport" source="myPackage.beforeRepLogic"/>
    Regards
    Rainer

  • Formula column equivalent in Data Template

    Hi all,
    I'm working with my first data template and fumbling my way through. I was able to generate the XML output and apply my template. I have some idea on how to burst too, but I'm stuck on how to get the current user's email address. In Oracle Reports, I could just create a formula column and get any specific information needed. How do I do the same in Data Templates?
    TIA,
    Alka

    HI,
    Can I know How can we create the formula column like if then else logic in the Data template?
    Regards
    Boopathi

  • Formula Columns in Data Template

    Hi,
    Is it posiible to have formula columns in data template apart from summary columns.please suggest.
    Regards

    You can put those formula-logic in sql query.
    summation/avg functions can be used directly in element.

  • Applying order by for the data comming from the formula column

    Dear Friends,
    I am having a report in which some of the columns in which data is comming from the formula columns,but i need the data in asc order.
    How can i do it.
    Please advice.

    I am having a report in which some of the columns in
    which data is coming from the formula columns,but i
    need the data in asc order.Lets say you have this query:
    select empno, sal, comm from emp
    And you have empno, sal, comm and a formula column 'f_percentage' in one group. Add one dummy column in the query, like this:
    select 'temp' temp, empno, sal, comm from emp
    Move this 'temp' column into the second group (drag and drop outside the first group). You don't have to create repeating frame/or need to show this 'temp' column on the report.
    Now if you use break order on formula column, that should work. Make sure you have break order on other columns also. Arrange items (change order) in data model as you needed. Run your report before and after this change and make sure you have same number of rows before and after this change.
    (from reports builder's help)
    "Break Order has no effect on columns that belong to the lowest group of a particular query. Break Order only affects columns in groups that are above the lowest child group of a query"

  • Suppress Missing Data not work in web form with formula column inside

    Dear All,
    I've a planning web form with formula column inside to calculate the variance and % variance. But missing cell can't be suppressed, although I've checked the 'Suppress Missing Blocks' and 'Suppress Missing Data' options.
    Anyone have face the same problem..?? and how to fixed it..??
    thanks.
    Regards,
    VieN

    There is a known issue that sounds like the problem you are experiencing
    10358200 - If a formula column exists in a data form, selecting the Suppress missing option does not hide rows that do not contain data.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to use formula column,placeholder column in data template option

    Hi All,
    Can you some idea on these concept with example.
    Thanks in adv

    >
    formula column,placeholder column
    >
    it's oracle reports terms?
    http://oraclebizint.wordpress.com/2007/08/22/oracle-reports-to-bi-publisher-conversion-utility/
    http://eoracleapps.blogspot.ru/2009/04/how-to-convert-oracle-reports-in-bi.html
    so convert your oracle reports to bi publisher and you'll see mapping for your case

  • Is there a way to Insert Data into a Lookup Column Type on a SharePoint List Destination in SSIS?

    Greetings.
    I have successfully worked out inserting SQL data (2008 R2) into my 2010 SharePoint list (New, Update, Delete) by creating an SSIS Data Flow Task as outlined here:
    http://fsugeiger.blogspot.com/2010/01/synchronise-sql-table-with-sharepoint.html
    However, the problem I am running into is inserting data into the SharePoint Columns that are "Lookup" column types. I verified that all of the values I am copying from SQL into the SharePoint lookup column exist in the customn list it is pointing to. It
    is important to have this column be a lookup column as it links to another custom list that has many more columns of related information.
    I have read and re-read the SharePoint SSIS Adapters 2011.docx from
    http://sqlsrvintegrationsrv.codeplex.com/ and the only section that seems to apply is this:
    "Looking Up Values in a SharePoint List
    If you have to look up a value in a SharePoint list, you can use the Lookup transformation in your data flow, and use the SharePoint List source to load the lookup table. You may have to add a Derived Column transformation or a Script component that splits
    data in the lookup column on the ";#" delimiter to separate the ID value from the description.
    If you are replacing values in your data with the values that you look up in the list, then loading the changed data back into SharePoint, you only have to include the ID from the lookup column. SharePoint ignores the description if you include it."
    I am not sure if the above statement means that I should be passing the assocaited ID's other than the actual data into the SharePoint List destination. If that is the case, that will not really work as the lookup contains hundreds of rows. Not too mention
    I have several of these lookup column types pointing to several different lists.
    Any guidance in how I can put data into a SharePoint Lookup column type via Data Flow Task would be so much appreaciated.
    Thank you.
    My errors are:
    Error: 0x0 at Data Flow Task, SharePoint List Destination: Error on row ID="1": 0x1 - Unspecified error, such as too many items being updated at once (batch), or an invalid core field value.
    Error: 0xC0047062 at Data Flow Task, SharePoint List Destination [1903]: Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.PipelineProcessException: Errors detected in this component - see SSIS Errors at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListDestination.ProcessInput(Int32
    inputID, PipelineBuffer buffer) at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostProcessInput(IDTSManagedComponentWrapper100 wrapper, Int32 inputID, IDTSBuffer100 pDTSBuffer, IntPtr bufferWirePacket)
    Error: 0xC0047022 at Data Flow Task, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "SharePoint List Destination" (1903) failed with error code 0x80131500 while processing input "Component Input" (1912). The identified
    component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will

    I have found a solution to my problem and thought I would share it here in case there are others who are struggling with the above scenario. If you have a better way, I would love to hear about it since my way is a bit tedious.
    In a nutshell, in order to have an SSIS package put data from an OLE DB Source into a SharePoint List Destination Lookup Column, you need to pass the ID of the value that is being looked up, not the value that is in the “master” OLE DB source.
    Rough explanation, OLE DB Source value for column “Approp” is “4005” --> SQL matches “4005” with the ID in the new lookup table (“4005” = ID “5” as defined in the SharePoint lookup list) --> “5” gets passed into SharePoint List destination lookup
    column --> SharePoint displays “4005” and successfully links to the lookup list.
    Funny thing (not really), the error(s) outlined in my original post are not related in getting data into a SharePoint Lookup column as I am now successful in getting data into the system but I am still getting the same above error(s). I think it has to do
    with the ID column in the SharePoint list destination. What I can’t seem to figure out is why since I am not linking any data to that ID column (at least on new records). I am however linking it on Update and Delete and the errors mentioned above disappear
    and things work well.
    There are three tasks that need to get done in order to get data from SQL into a SharePoint lookup column assuming you have already set up your SharePoint lookup lists:
    1. Create new lookup table(s) in SQL that has the IDs from the SharePoint Lookup list and the values coming from the “master” OLD DB Source. You can see the ID column in SharePoint by toggling it on in a view.
    2. Create a SQL command that JOINs all the databases and tables so that the ID is passed and not the value into the SharePoint lookup column
    3. Change the “Data access mode” to “SQL Command” instead of the “Table or view” in the OLE DB Source and paste your command into the “SQL command text:” area.
    Other helpful info is that you may also need to add additional columns in the new lookup tables in SQL for the scenarios when the data is not unique. You can see this two times in my SQL command example for Units and JobTitles:
    SELECT
    pps.SSNm,
    pps.file_updated,
    pps.Employee_id,
    /* pps.CheckDistNm,*/
    Check_Distribution_id = COALESCE( d.ID, 0 ),
    pps.Job_nbr,
    pps.SeqNm,
    pps.action_eff_dt,
    Fund_id = COALESCE( f.id, 0 ),
    Appropriation_id = COALESCE( ap.id, 0 ),
    ActionCode_id = COALESCE( ac.id, 0 ),
    SpecNumber_id = COALESCE( jt.ID, 0 ),
    pps.Employee_id,
    /* pps.Fund,
    pps.Approp,
    pps.Unit,*/
    Unit_id = COALESCE( u.ID, 0 ),
    PosNm,
    PosCode,
    pps.LastName,
    pps.FirstName,
    pps.MI
    FROM
    x_PPS.aReportVw.pps_screens_active AS pps
    LEFT OUTER JOIN dbo.DistributionNumbers AS d ON
    pps.CheckDistNm = d.Check_Distribution
    LEFT OUTER JOIN dbo.Units AS u ON
    pps.Fund = u.Fund AND
    pps.Approp = u.Approp AND
    pps.Unit = u.Unit
    LEFT OUTER JOIN dbo.Appropriations AS ap ON
    pps.Approp = ap.Approp
    LEFT OUTER JOIN dbo.Funds AS f ON
    pps.Fund = f.Fund
    LEFT OUTER JOIN dbo.ActionCodes AS ac ON
    pps.ActionCode = ac.ActionCode
    LEFT OUTER JOIN dbo.JobTitles AS jt ON
    pps.SpecNm = jt.SpecNumber AND
    pps.JurisClass = jt.JurisClass

Maybe you are looking for

  • How to get week number and day in my result?

    hi experts, i have given the data is ID and DATE(yyyymmdd),i want to get output like ID,DATE,WEEKNO,YEAR,MONTH,DAY. how to get this output. thanks & regards vijay

  • Why can't I open a new Tab with the "Plus" sign or "Command-T"?

    If I want to open a New Tab, I either press "Command T" or select "New Tab" from the File menu, or click the little "plus" sign in my Tabs bar - - - right? None of them work. What am I missing?

  • I can't receive any emails?

    For some reason I am unable to receive emails on my iPad although it's been fine up to one?

  • Preview icon on windows 7/8 has status, but not "hangup"

    When you hover over the skype icon on the taskbar in Windows 7/8, the preview window has the ability to set your status (away/do not disturb/invisible etc) which is great.  however, it would be GREAT, if while in a call, I could hang up from the prev

  • Snippet New button inactive

    Why is the Snippet New button inactive? It is grayed out and I can't create a new snippet. Without that, the whole snippet feature is wasted space at this point. I thought maybe it had something to do with the html page i had open, so i opened a new