How to select data using the same remote database column name 3

Hello


Can anyone help me on how to get the data with the same remote database column names 3 and a unique nickname.

E.g.

SELECT *.
B.SID, b.status, SUM (b.qty) qantity MAX (b.) date_as_of
Of
* ((table1@remotedatabase1, table1@remotedatabase2, table1@remotedatabase3) has, *)
(* (table1@remotedatabase1, table1@remotedatabase2, table1@remotedatabase3) b). *
WHERE b.dept = 'finance '.
AND a.position = "admin".
AND a.latest = 'Y' AND (b.status <>"MLT") AND b.qty > 0;
B.SID GROUP, b.status;

NOTE: the instructions "BOLD" is just an example of what I want to do but I always get an error beacause of ambiguous column.

Thanks to advnce. :)

Published by: user12994685 on 4 January 2011 21:42

user12994685 wrote:

Can anyone help me on how to get the data with the same remote database column names 3 and a unique nickname.

Not valid. This makes no sense and breaks all the rules of scope-resolution. And if it is in a single database, or uses tables in databases, is not relevant.

Each object must be particularly well identified. If you cannot do this:

select * from (table1@remotedatabase1, table1@remotedatabase2, table1@remotedatabase3) a

3 objects cannot share the same alias. Example:

SQL> select * from (dual, dual) d;
select * from (dual, dual) d
                   *
ERROR at line 1:
ORA-00907: missing right parenthesis

You need to combine objects - by using a join union or similar. He will have to be done as follows:

SQL> select * from (select * from dual d1, dual d2) d;
select * from (select * from dual d1, dual d2) d
       *
ERROR at line 1:
ORA-00918: column ambiguously defined

However, we need to have unique column in a projection of SQL names - so the join of the need to project a unique set of columns. So:

SQL> select * from (select d1.dummy as dummy1, d2.dummy as dummy2 from dual d1, dual d2) d;

DUM DUM
--- ---
X   X

SQL> 

I suggest that you look carefully at what opportunities are and how it applies in SQL - and ignore if the referenced objects are local or remote, because it has no effect on the basic principles of scope-resolution.

Tags: Database

Similar Questions

  • Use the same image twice column in a report

    Hello

    I have a question which is, I can use the same column (column A in the example) picture twice in a report? first occurrence (column A) will show the thumbnail of the image and the second occurrence (column A) will display the image download link that opens the picture in a new window. Is this possible?

    Thank you

    Alexander

    -APEX-perf wrote:

    Yes, it is possible. However, if you intend to have two different images, then I would suggest you use javascript to link or download the blob.

    What's happening on Earth? Why JavaScript is necessary to download two different images? Even if he was in any real way, the OP is clear that the link posted of thumbnails and download involves the same image.

    To accomplish this task, you use decode or create a union query.

    No, all that should be necessary is the image column twice in the projection of the reference report query and apply a mask download format to a column and one mask of the image to the other. That the OP apparently did not this probably indicates that they are unnecessarily complicate things.

    For example:

    Select '' link_col

    table

    where allow_view = 'Y '.

    Union of all the

    Select '' link_col

    table

    where allow_view = ' don't

    or

    Select decode (allow_view, 'Y',

    '',

    ("") link_col

    table

    What is downloadImg? It is not a Standard API JavaScript APEX. Therefore, it is highly unlikely that this is of no use to the op.

  • How to return data using the object type?

    Hello all - I have an obligation to return the values object type.

    In the same way as

    list - Plan1, Subplan1, Fund1, 2 Fund Fund 3

    list - Plan2, Subplan2, Fund2

    list - plane3, Subplan3, not funds


    To achieve this I wrote below proc but its giving as response below which is does not correspond with my requirement. Someone has an idea how to write code to get the list of funds against each plan in each line?



    Output:

    PDB01. () T_T_CONTRACT

    PDB01. T_O_CONTRACT ('p1', 's1', PDB01. T_O_FUND ('p1', 's1', 'f1')),

    PDB01. T_O_CONTRACT ('p1', 's1', PDB01. T_O_FUND ('p1', 's1', 'f2')),

    PDB01. T_O_CONTRACT ('p1', 's1', PDB01. T_O_FUND ('p1', 's1', 'f3')),

    PDB01. T_O_CONTRACT ('p2', 's2', PDB01. T_O_FUND ('p2', 's2', 'f2')),

    PDB01. T_O_CONTRACT ('p3', 's3', PDB01. T_O_FUND (NULL, NULL, NULL))

    )




    DROP TYPE T_T_fund;

    create or replace

    TYPE T_O_fund

    AS OBJECT)

    argument plan_id Varchar2 (128).

    subplan_id Varchar2 (128).

    fund_id Varchar2 (128)

    )

    No final;

    /

    create or replace

    type T_T_FUND

    as the table of T_O_FUND;

    /

    type of projection T_T_CONTRACT;

    create or replace

    TYPE T_O_contract

    AS OBJECT)

    argument plan_id Varchar2 (128).

    SUBPLAN_ID varchar2 (128).

    ov_fund T_o_fund

    )

    no final;

    /

    create or replace

    type T_t_contract as the T_O_contract table;

    /

    -------------------------

    / * Remove T_T_FUND;

    DROP TYPE T_O_fund;

    type of projection T_T_CONTRACT;

    DROP TYPE T_O_contract; * /

    ----------------

    create or replace

    procedure test_cursor (o_c1 OUT sys_refcursor) is

    V_T_T_FUND T_T_FUND;

    v_T_t_contract T_t_contract;

    Start

    WITH (CONTRACTS AS

    SELECT "p1" PLAN_ID, "s1" SUBPLAN_ID FROM DUAL UNION ALL

    SELECT "p2" PLAN_ID, 's2' SUBPLAN_ID FROM DUAL UNION ALL

    SELECT "p3" PLAN_ID, 's3' SUBPLAN_ID FROM DUAL

    ),

    Fund)

    Select "p1" PLAN_ID, SUBPLAN_ID 's1', 'f1' FUND_ID of all the DOUBLE union

    Select "p1" PLAN_ID, SUBPLAN_ID 's1', 'f2' FUND_ID of all the DOUBLE union

    Select plan_id "p1", "s1" subplan_id argument, "f3" fund_id Union double all the

    Select the argument plan_id 'p2', 's2' subplan_id, 'f2' double fund_id

    )

    Select T_O_contract (c.PLAN_ID, c.SUBPLAN_ID, T_o_FUND (f.PLAN_ID, f.SUBPLAN_ID, f.FUND_ID))

    TO COLLECT FEES IN BULK

    in v_T_t_contract

    c CONTRACTS, FUND F

    where C.PLAN_ID = F.PLAN_ID

    and c.SUBPLAN_ID = f.SUBPLAN_ID (+);

    Open the O_C1 for

    SELECT 't' TYP, v_T_t_contract contract_LST

    FROM DUAL;

    end;

    /

    impression o_test

    You can declare the attribute OV_FUND as T_T_FUND data type:

    create or replace type t_o_contract as object (
      plan_id     varchar2(128)
    , subplan_id  varchar2(128)
    , ov_fund     t_t_fund
    );
    /
    

    You will be able to do this:

    with contracts as (
      select 'p1' plan_id, 's1' subplan_id from dual union all
      select 'p2' plan_id, 's2' subplan_id from dual union all
      select 'p3' plan_id, 's3' subplan_id from dual
    ),
    funds as (
      select 'p1' plan_id , 's1' subplan_id, 'f1' fund_id from dual union all
      select 'p1' plan_id , 's1' subplan_id, 'f2' fund_id from dual union all
      select 'p1' plan_id , 's1' subplan_id, 'f3' fund_id from dual union all
      select 'p2' plan_id , 's2' subplan_id, 'f2' fund_id from dual
    )
    select t_o_contract(
             c.plan_id
           , c.subplan_id
           , cast(
               multiset(
                 select t_o_fund(f.plan_id, f.subplan_id, f.fund_id)
                 from funds f
                 where f.plan_id = c.plan_id
                 and f.subplan_id = c.subplan_id
               )
               as t_t_fund
             )
           )
    from contracts c ;
    
  • I'm looking on how many organizations are using the same music on a model of animated logo?

    Hello

    I am doing a logo for a client who wants to know where the music comes on the animation of AE model and how much companies could already use it.

    Is there a way to know this?

    Thank you

    No way of knowing how many people use.

    Some model sites allow you to see how many people bought the same model, but it is unclear how many companies or YouTube channels, they used to. And we don't know how many people use illegally as well.

    If they want to be unique, there are a number of websites where you can put musicians to produce a custom piece.

  • A lot of images. How to select by using the preview window (work area)?

    I have 15 images that I put on a background (picture 16) in the style of a collage.  Each image has an adjustment layer bound to her for me to mix an image manually in the next.  This worked fine, but now I have 15 images with rounded edges and I learned how to change them, I hit a problem, that I wasn't expecting.  My planned process is to move these images in a variety of sizes and positions until I got the look I love.    The only way I could work on that's too painful (scrolling up and down my palette of layer until I find the picture i took for target, select the layer, Ctrl + to highlight in the preview window and then move and size).  With 32 layers, it is very tedious.  It makes more sense for me to select in the preview window (even if it means hitting a hotkey multiple times until I select the picture I want to work with).

    Maybe I approach the task entirely the wrong way.  I'm willing to try any suggestion.  I like to do this kind of project, and I moved to Adobe because I thought that I could take advantage of its extra power to do a better job.

    I am relatively new to PSE 8, but not new for photoediting.  I, are looking for an answer on this forum and the web in general, but can not get close to a solution.  Thanks for your help!

    Edit: Using the technique I describe above, when I move to the work area (what I called window preview), the layer I selected off the coast of the Layer palette has a finely dashed around it, there is another area apparently random, highlighted by a blue line and line dotted yet another seemingly random area highlighted with a heavier white.  These hold the key my solution?

    To make it more clear what I'm trying to do-, here is a brief description of it: the final result is a print for a friend who was a torch for the relay of the Olympic flame to 13 x 19 inches.  I have a map of Canada with the road on this issue and 15 images are pictures of his 15 minutes of nirvana.  I want to fuss around with transparency, size, rotation, each of the images.  I am very happy with the adjustment layer feature (which allows to paint me with transparency).  the rest, I thought would be easy, but...

    Yes, that's the downside of the technique, it's that you need move the brush and gum to get your mask just a clipping mask.

    No way around that.

    As far as being able to see what your paint before painting, make a copy of your image layer and put it at the bottom of your layer stack

    Then, set its opacity to say 75% or so to be semi-transparent.

    Now you can paint on your layer mask to bring your full image. Hide or display the background layer let's you see the result and quickly return the Semitransparent 'outline '.

    See attached screenshot.

  • How to extract data using the xml data type

    Hello
    I tried the following example using the xml data type, but not the desired output.
    could you please correct the query in order to obtain the necessary
    CREATE TABLE TEST.EMP_DETAIL
    (
      EMPNO       NUMBER,
      ENAME       VARCHAR2(32 BYTE),
      EMPDETAILS  SYS.XMLTYPE
    )
    Insert into EMP_DETAIL
       (EMPNO, ENAME, EMPDETAILS)
     Values
       (7, 'Martin', XMLTYPE('<Dept>
      <Emp Empid="1">
        <EmpName>Kevin</EmpName>
        <Empno>50</Empno>
        <DOJ>20092008</DOJ>
        <Grade>E3</Grade>
        <Sal>3000</Sal>
      </Emp>
      <Emp Empid="2">
        <EmpName>Coster</EmpName>
        <Empno>60</Empno>
        <DOJ>01092008</DOJ>
        <Grade>E1</Grade>
        <Sal>1000</Sal>
      </Emp>
      <Emp Empid="3">
        <EmpName>Samuel</EmpName>
        <Empno>70</Empno>
        <DOJ>10052008</DOJ>
        <Grade>E2</Grade>
        <Sal>2530</Sal>
      </Emp>
      <Emp Empid="4">
        <EmpName>Dev</EmpName>
        <Empno>80</Empno>
        <DOJ>10032007</DOJ>
        <Grade>E2</Grade>
        <Sal>1200</Sal>
      </Emp>
    </Dept>
    '));
    I need to get the record for Empid = '2'
    Then tried the following query with no expected o/p
    SELECT a.empno,a.ename,a.empdetails.extract('//Dept/Emp/EmpName/text()').getStringVal() AS "EmpNAME",
         a.empdetails.extract('//Dept/Emp/Empno/text()').getStringVal() AS "EMPNumber",
          a.empdetails.extract('//Dept/Emp/DOJ/text()').getStringVal() AS "DOJ",
          a.empdetails.extract('//Dept/Emp/Grade/text()').getStringVal() AS "Grade",
          a.empdetails.extract('//Dept/Emp/Sal/text()').getStringVal() AS "Salary",
          a.empdetails.extract('//Dept/Emp[@Empid="2"]').getStringVal() AS "ID",
          a.empdetails.extract('//Dept/Emp[EmpName="Coster"]').getStringVal() AS "CHK"
         FROM emp_detail a 
         where empno=7  
               AND a.empdetails.existsNode('//Dept/Emp[@Empid="2"]') =1
    Thank you...

    Karthick_Arp wrote:
    I'm not very good at that... But if your XML code should not be more like this

    SQL> Insert into EMP_DETAIL
    2     (EMPNO, ENAME, EMPDETAILS)
    3   Values
    4     (7, 'Martin', XMLTYPE('
    5    
    6      1
    7      Kevin
    8      50
    9      20092008
    10      E3
    11      3000
    12    
    .. cut ..
    

    Why? It is perfectly valid to data as attributes rather than elements and also quite common for key values.

  • How many cell data uses the health app?

    We have little data plans, and my wife intends to use the health app every day.  Should I use to run the cell data health application?  Another reference... If I used the maps on the watch application would use this as much data as it normally does on my iPhone?  Just try to get an idea of the amount of data from the watch uses.  Thank you.

    I have not observed the health app using cellular data at all.

    Regarding the cards on the watch, it's just an extension of maps on your phone. Cards cannot run independently on the watch. If you use maps on the watch, he uses exactly this use from your phone from your phone is running the show.

  • How to insert data in the clob or xmltype column

    When I am inserting to clob or xml type column I get error error on line 2:
    ORA-01704: string literal too long


    INSERT INTO po_clob_tab
    values (100,' < TXLife >)
    < UserAuthRequest >
    UserId < UserLoginName > < / UserLoginName >
    < / UserAuthRequest >
    < TXLifeRequest >
    < TransRefGUID > 0099962A-BFF3-4761-4058-F683398D79F7 < / TransRefGUID >
    < TransType tc = "186" > OLI_TRANS_CHGPAR < / TransType >
    < TransExeDate > 2008 - 05 - 29 < / TransExeDate >
    < TransExeTime > 12:01:01 < / TransExeTime >
    < InquiryLevel tc = "3" > OLI_INQUIRY_OBJRELOBJ < / InquiryLevel >
    < InquiryView >
    < InquiryViewCode > CU186A < / InquiryViewCode >
    < / InquiryView >
    < ChangeSubType >
    < ChangeTC tc = "32" > update / add information about the customer object < / ChangeTC >
    <!-TranContentCode tc = 1 (Add)
    TC = 2 (Update)
    TC = 3 (remove)
    ->
    < TranContentCode tc = "1" > add < / TranContentCode >
    < / ChangeSubType >
    < OLifE >
    < SourceInfo >
    Profile Client < SourceInfoName > < / SourceInfoName >
    < / SourceInfo >
    < id of activity = "Act1" PartyID = "Party1" >
    < ActivityStatus tc = "2" > current < / ActivityStatus >
    < > 123456 UserCode < / UserCode >
    < opened > 2010 - 08 - 17 < / open >
    < ActivityCode > CP10001 < / ActivityCode >
    < setting >
    < description > LastScreenName < / Description >
    Create a CP < AttachmentData > < / AttachmentData >
    < AttachmentType tc = "2" > OLI_ATTACH_COMMENT < / AttachmentType >
    < AttachmentLocation tc = "1" > OLI_INLINE < / AttachmentLocation >
    < / fixing >
    < OLifEExtension VendorCode = ExtensionCode "05" = 'Activity' >
    < ActivityExtension >
    < SubActivityCode > CP20001 < / SubActivityCode >
    < / ActivityExtension >
    < / OLifEExtension >
    < / activity >
    < group id = "Grouping1" >
    < household >
    < EstIncome > 90000 < / EstIncome >
    < / household >
    < / group >
    < holding id = "Holding1" >
    Political < HoldingTypeCode tc = "2" > < / HoldingTypeCode >
    < purpose tc = "35" > Accumulation < / purpose >
    <>policy
    < tc ProductType = "1009800001" > AXA generic network Variable life product < / ProductType >
    Plus9 < ProductCode > < / ProductCode >
    < PlanName > accumulator Plus 9.0 < / PlanName >
    < pension >
    < QualPlanType tc = "45" > Qualified < / QualPlanType >
    < / pension >
    < ApplicationInfo >
    < ApplicationJurisdiction tc = "35" > New Jersey < / ApplicationJurisdiction >
    < OLifEExtension VendorCode = ExtensionCode "05" = "ApplicationInfo" >
    < ApplicationInfoExtension >
    < FinancialPlanIInd tc '0' = > false < / FinancialPlanIInd >
    < AgentVerifiesOwnersID tc = "1" > True < / AgentVerifiesOwnersID >
    < / ApplicationInfoExtension >
    < / OLifEExtension >
    < / ApplicationInfo >
    < FinancialActivity >
    < FinActivityType tc = "7" > payment < / FinActivityType >
    < FinActivityPct > 10 < / FinActivityPct >
    < payment >
    < SourceOfFundsTC = "18" tc > Don < / SourceOfFundsTC >
    < OLifEExtension VendorCode = ExtensionCode "05" = 'Payment' >
    < PaymentExtension >
    < FundingDisclosureDetails >
    < FundingDisclosureTC tc = "1009800001" > Cash < / FundingDisclosureTC >
    < / FundingDisclosureDetails >
    < / PaymentExtension >
    < / OLifEExtension >
    < / payment >
    < / FinancialActivity >
    < FinancialActivity >
    < FinActivityType tc = "7" > payment < / FinActivityType >
    < FinActivityPct > 10 < / FinActivityPct >
    < payment >
    < SourceOfFundsTC tc = "8" > personal loan < / SourceOfFundsTC >
    < OLifEExtension VendorCode = ExtensionCode "05" = 'Payment' >
    < PaymentExtension >
    < FundingDisclosureDetails >
    < FundingDisclosureTC tc = "1009800002" > loan < / FundingDisclosureTC >
    < / FundingDisclosureDetails >
    < / PaymentExtension >
    < / OLifEExtension >
    < / payment >
    < / FinancialActivity >
    < FinancialActivity >
    < FinActivityType tc = "7" > payment < / FinActivityType >
    < FinActivityPct > 10 < / FinActivityPct >
    < payment >
    < SourceOfFundsTC tc = "10" > back < / SourceOfFundsTC >
    < OLifEExtension VendorCode = ExtensionCode "05" = 'Payment' >
    < PaymentExtension >
    < FundingDisclosureDetails >
    < FundingDisclosureTC tc = "1009800003" > political related < / FundingDisclosureTC >
    < / FundingDisclosureDetails >
    < / PaymentExtension >
    < / OLifEExtension >
    < / payment >
    < / FinancialActivity >
    < FinancialActivity >
    < FinActivityType tc = "7" > payment < / FinActivityType >
    < FinActivityPct > 10 < / FinActivityPct >
    < payment >
    < OLifEExtension VendorCode = ExtensionCode "05" = 'Payment' >
    < PaymentExtension >
    < FundingDisclosureDetails >
    < FundingDisclosureTC tc = "1009800005" > CD, Stocks, 401(k) mutual funds shares, obligations, existing retirement Plan assets sale < / FundingDisclosureTC >
    < / FundingDisclosureDetails >
    < / PaymentExtension >
    < / OLifEExtension >
    < / payment >
    < / FinancialActivity >
    < FinancialActivity >
    < FinActivityType tc = "7" > payment < / FinActivityType >
    < FinActivityPct > 10 < / FinActivityPct >
    < payment >
    < OLifEExtension VendorCode = ExtensionCode "05" = 'Payment' >
    < PaymentExtension >
    < FundingDisclosureDetails >
    < FundingDisclosureTC tc = "1009800004" > sale of shares of mutual funds qualified or unqualified < / FundingDisclosureTC >
    < / FundingDisclosureDetails >
    < / PaymentExtension >
    < / OLifEExtension >
    < / payment >
    < / FinancialActivity >
    < FinancialActivity >
    < FinActivityType tc = "7" > payment < / FinActivityType >
    < FinActivityPct > 20 < / FinActivityPct >
    < payment >
    < OLifEExtension VendorCode = ExtensionCode "05" = 'Payment' >
    < PaymentExtension >
    < FundingDisclosureDetails >
    < FundingDisclosureTC tc = "1009800006" > active Advisory investment sales < / FundingDisclosureTC >
    < / FundingDisclosureDetails >
    < / PaymentExtension >
    < / OLifEExtension >
    < / payment >
    < / FinancialActivity >
    < FinancialActivity >
    < FinActivityType tc = "7" > payment < / FinActivityType >
    < FinActivityPct > 20 < / FinActivityPct >
    < payment >
    Car < SourceOfFundsTC tc = "1009800008" > < / SourceOfFundsTC >
    < OLifEExtension VendorCode = ExtensionCode "05" = 'Payment' >
    < PaymentExtension >
    < FundingDisclosureDetails >
    < FundingDisclosureTC tc '2147483647' = > other < / FundingDisclosureTC >
    < / FundingDisclosureDetails >
    < / PaymentExtension >
    < / OLifEExtension >
    < / payment >
    < / FinancialActivity >
    < / policy >
    < / support >
    < use id = "Party1" >
    < PartyTypeCode tc = "1" > person < / PartyTypeCode >
    < EstNetWorth > 250000 < / EstNetWorth >
    < LiquidNetWorthAmt > 120000 < / LiquidNetWorthAmt >
    < EstTotAssetsAmt > 400000 < / EstTotAssetsAmt >
    < person >
    John < FirstName > < / name >
    DOE < name > < / LastName >
    Married < MarStat tc = "1" > < / MarStat >
    < sex tc = "1" > male < / Type >
    < date of birth > 1965 - 05 - 07 < / date of birth >
    < EducationType tc = "3" > associate degree < / EducationType >
    < citizenship tc = "1" > US < / citizenship >
    < NetIncomeAmt > 70000 < / NetIncomeAmt >
    < DriversLicenseNum > D123456789 < / DriversLicenseNum >
    < DriversLicenseState tc = "35" > New Jersey < / DriversLicenseState >
    < ImmigrationStatus tc = "8" > citizen < / ImmigrationStatus >
    < DriversLicenseExpDate > 2012 - 05 - 25 < / DriversLicenseExpDate >
    < OLifEExtension VendorCode = ExtensionCode "05" = "No" >
    < PersonExtension >
    < NoDriversLicenseInd tc '0' = > false < / NoDriversLicenseInd >
    < / PersonExtension >
    < / OLifEExtension >
    < / person >
    < address >
    Lane Finn 125 < Line1 > < / Line1 >
    < City > North Brunswick < / City >
    < AddressStateTC tc = "35" > New Jersey < / AddressStateTC >
    < > 08902 zip < / Zip >
    < / address >
    < Phone >
    < PhoneTypeCode tc = "1" > home < / PhoneTypeCode >
    < DialNumber > 732456789 < / DialNumber >
    < / Phone >
    < Phone >
    < PhoneTypeCode tc = "2" > work < / PhoneTypeCode >
    < DialNumber > 732987654 < / DialNumber >
    < / Phone >
    < setting >
    < description > comments < / Description >
    < AttachmentData > it is collected for the customer comments < / AttachmentData >
    < AttachmentType tc = "2" > OLI_ATTACH_COMMENT < / AttachmentType >
    < AttachmentLocation tc = "1" > OLI_INLINE < / AttachmentLocation >
    < / fixing >
    < setting >
    < AttachmentSysKey > 1 < / AttachmentSysKey >
    important considerations remarks additional < description > < / Description >
    < AttachmentData > it is collected for the customer comments < / AttachmentData >
    < AttachmentType tc = "2" > OLI_ATTACH_COMMENT < / AttachmentType >
    < AttachmentLocation tc = "1" > OLI_INLINE < / AttachmentLocation >
    < / fixing >
    < setting >
    < AttachmentSysKey > 2 < / AttachmentSysKey >
    important considerations remarks additional < description > < / Description >
    < AttachmentData > it is collected for the customer comments < / AttachmentData >
    < AttachmentType tc = "2" > OLI_ATTACH_COMMENT < / AttachmentType >
    < AttachmentLocation tc = "1" > OLI_INLINE < / AttachmentLocation >
    < / fixing >
    < customer >
    < NumRelations > 1 < / NumRelations >
    < EstTaxBracket > 10 < / EstTaxBracket >
    < BrokerDealerInd tc = "1" > True < / BrokerDealerInd >
    < EstIncomeAmt > 90000 < / EstIncomeAmt >
    < PrimaryInvObjective tc = "8" > income and growth < / PrimaryInvObjective >
    < InvHorizonRangeMin > 5 < / InvHorizonRangeMin >
    < OLifEExtension VendorCode = "05" ExtensionCode = "Customer" >
    < ClientExtension >
    Moderate < RiskToleranceCode tc = "3" > < / RiskToleranceCode >
    < FINRAAffiliationName > John Doe < / FINRAAffiliationName >
    < degree >
    < RankCategory tc = "1009800001" > financial goal < / RankCategory >
    < TotalRankCode > 5 < / TotalRankCode >
    < RankCode PurposeID = "1009800016" > 6 < / RankCode >
    < RankCode PurposeID = "35" > 6 < / RankCode >
    < RankCode PurposeID = "2" > 6 < / RankCode >
    < RankCode PurposeID = "1009800013" > 6 < / RankCode >
    < RankCode PurposeID = "1009800014" > 6 < / RankCode >
    < RankCode PurposeID = "5" > 6 < / RankCode >
    < RankCode PurposeID = "1009800015" > 6 < / RankCode >
    < / standings >
    < / ClientExtension >
    < / OLifEExtension >
    < / customer >
    < EMailAddress >
    < EMailType tc = "1" > Business < / EMailType >
    < AddrLine > [email protected] < / AddrLine >
    < / EMailAddress >
    < risk >
    < HHFamilyInsurance >
    < HHFamilyInsuranceSysKey > 1 < / HHFamilyInsuranceSysKey >
    < DeclinedInd tc '0' = > false < / DeclinedInd >
    < LineOfBusiness tc = "1" > life < / LineOfBusiness >
    < / HHFamilyInsurance >
    < HHFamilyInsurance >
    < HHFamilyInsuranceSysKey > 2 < / HHFamilyInsuranceSysKey >
    < DeclinedInd tc '0' = > false < / DeclinedInd >
    < LineOfBusiness tc = "1" > life < / LineOfBusiness >
    < / HHFamilyInsurance >
    < HHFamilyInsurance >
    < HHFamilyInsuranceSysKey > 1 < / HHFamilyInsuranceSysKey >
    < DeclinedInd tc '0' = > false < / DeclinedInd >
    < LineOfBusiness tc = "3" > disability insurance < / LineOfBusiness >
    < / HHFamilyInsurance >
    < HHFamilyInsurance >
    < HHFamilyInsuranceSysKey > 1 < / HHFamilyInsuranceSysKey >
    < DeclinedInd tc '0' = > false < / DeclinedInd >
    < LineOfBusiness tc = "5" > insurance LTC < / LineOfBusiness >
    < / HHFamilyInsurance >
    < FinancialExperience >
    < InvestmentType tc = "7" > CD < / InvestmentType >
    < YearsOfInvestmentExperience > 1 < / YearsOfInvestmentExperience >
    < OLifEExtension VendorCode = "05" ExtensionCode = "FinancialExperience" >
    < FinancialExperienceExtension >
    < > 30000 AssetValue < / AssetValue >
    < / FinancialExperienceExtension >
    < / OLifEExtension >
    < / FinancialExperience >
    < FinancialExperience >
    < InvestmentType tc = "3" > inventory < / InvestmentType >
    < YearsOfInvestmentExperience > 1 < / YearsOfInvestmentExperience >
    < OLifEExtension VendorCode = "05" ExtensionCode = "FinancialExperience" >
    < FinancialExperienceExtension >
    < AssetValue > 5000 < / AssetValue >
    < / FinancialExperienceExtension >
    < / OLifEExtension >
    < / FinancialExperience >
    < FinancialExperience >
    < InvestmentType tc = "2" > link < / InvestmentType >
    < YearsOfInvestmentExperience > 6 < / YearsOfInvestmentExperience >
    < OLifEExtension VendorCode = "05" ExtensionCode = "FinancialExperience" >
    < FinancialExperienceExtension >
    < > 50000 AssetValue < / AssetValue >
    < / FinancialExperienceExtension >
    < / OLifEExtension >
    < / FinancialExperience >
    < FinancialExperience >
    < InvestmentType tc = "15" > variable annuities < / InvestmentType >
    < YearsOfInvestmentExperience > 4 < / YearsOfInvestmentExperience >
    < OLifEExtension VendorCode = "05" ExtensionCode = "FinancialExperience" >
    < FinancialExperienceExtension >
    < > 50000 AssetValue < / AssetValue >
    < / FinancialExperienceExtension >
    < / OLifEExtension >
    < / FinancialExperience >
    < FinancialExperience >
    < InvestmentType tc = "6" > mutual funds < / InvestmentType >
    < YearsOfInvestmentExperience > 0 < / YearsOfInvestmentExperience >
    < OLifEExtension VendorCode = "05" ExtensionCode = "FinancialExperience" >
    < FinancialExperienceExtension >
    < AssetValue > 0 < / AssetValue >
    < / FinancialExperienceExtension >
    < / OLifEExtension >
    < / FinancialExperience >
    < FinancialExperience >
    < InvestmentType tc = "1009800001" > Cash < / InvestmentType >
    < YearsOfInvestmentExperience > 20 < / YearsOfInvestmentExperience >
    < OLifEExtension VendorCode = "05" ExtensionCode = "FinancialExperience" >
    < FinancialExperienceExtension >
    < AssetValue > 100000 < / AssetValue >
    < / FinancialExperienceExtension >
    < / OLifEExtension >
    < / FinancialExperience >
    < FinancialExperience >
    < InvestmentType tc '2147483647' = > other < / InvestmentType >
    < YearsOfInvestmentExperience > 0 < / YearsOfInvestmentExperience >
    < OLifEExtension VendorCode = "05" ExtensionCode = "FinancialExperience" >
    < FinancialExperienceExtension >
    < AssetValue > 0 < / AssetValue >
    < / FinancialExperienceExtension >
    < / OLifEExtension >
    < / FinancialExperience >
    < / risk >
    < EmployerPartyID job = "Plaignante4" >
    Employees < OccupClass tc = "1009800001" > < / OccupClass >
    Solution Architect < occupation > < / Occupation >
    AXA < EmployerName > < / EmployerName >
    < YearsAtEmployment > 15 < / YearsAtEmployment >
    < / job >
    < GovtIDInfo >
    < GovtID > 123456789 < / GovtID >
    < GovtIDTC tc = "17" > Passport < / GovtIDTC >
    < GovtIDExpDate > 2015 - 08 - 24 < / GovtIDExpDate >
    < Nation tc = "1" > US < / Nation >
    < competence tc = "35" > New Jersey < / competence >
    < / GovtIDInfo >
    < / party >
    < use id = 'Party2' >
    < PartyTypeCode tc = "1" > person < / PartyTypeCode >
    < PartySysKey > ProfileID456 < / PartySysKey >
    < person >
    Jacqueline < FirstName > < / name >
    DOE < name > < / LastName >
    Married < MarStat tc = "1" > < / MarStat >
    < sex tc = "2" > female < / Type >
    < date of birth > 1975 - 05 - 07 < / date of birth >
    < EducationType tc = "3" > associate degree < / EducationType >
    < citizenship tc = "1" > US < / citizenship >
    < DriversLicenseNum > D987654321 < / DriversLicenseNum >
    < DriversLicenseState tc = "35" > New Jersey < / DriversLicenseState >
    < ImmigrationStatus tc = "8" > citizen < / ImmigrationStatus >
    < DriversLicenseExpDate > 2012 - 05 - 25 < / DriversLicenseExpDate >
    < OLifEExtension VendorCode = ExtensionCode "05" = "No" >
    < PersonExtension >
    < NoDriversLicenseInd tc '0' = > false < / NoDriversLicenseInd >
    < / PersonExtension >
    < / OLifEExtension >
    < / person >
    < address >
    Lane Finn 125 < Line1 > < / Line1 >
    < City > North Brunswick < / City >
    < AddressStateTC tc = "35" > New Jersey < / AddressStateTC >
    < > 08902 zip < / Zip >
    < / address >
    < Phone >
    < PhoneTypeCode tc = "1" > home < / PhoneTypeCode >
    < DialNumber > 732456789 < / DialNumber >
    < / Phone >
    < risk >
    < HHFamilyInsurance >
    < HHFamilyInsuranceSysKey > 1 < / HHFamilyInsuranceSysKey >
    < DeclinedInd tc '0' = > false < / DeclinedInd >
    < LineOfBusiness tc = "1" > life < / LineOfBusiness >
    < / HHFamilyInsurance >
    < / risk >
    < job >
    < OccupClass tc = "4" > unemployed < / OccupClass >
    < / job >
    < GovtIDInfo >
    < GovtID > 987654321 < / GovtID >
    < GovtIDTC tc = "17" > Passport < / GovtIDTC >
    < GovtIDExpDate > 2015 - 08 - 24 < / GovtIDExpDate >
    < Nation tc = "1" > US < / Nation >
    < competence tc = "35" > New Jersey < / competence >
    < / GovtIDInfo >
    < / party >
    < use id = "3" >
    < PartyTypeCode tc = "1" > person < / PartyTypeCode >
    < person >
    Joe < FirstName > < / name >
    DOE < name > < / LastName >
    <>15 years < / Age >
    < / person >
    < / party >
    < use id = "Plaignante4" >
    < person / >
    < address >
    < Line1 > 425 Washington Blvd. < / Line1 >
    Jersey < City > < / City >
    < AddressStateTC tc = "35" > New Jersey < / AddressStateTC >
    < > 07302 zip < / Zip >
    < / address >
    < / party >
    < Relationship OriginatingObjectID = "Grouping1" id = "Relation1" RelatedObjectID = "Party1" >
    < OriginatingObjectType tc = "16" > grouping < / OriginatingObjectType >
    < RelatedObjectType tc = "6" > Party < / RelatedObjectType >
    < RelationRoleCode tc = "30" > Member < / RelationRoleCode >
    < / relationship >
    < Relationship OriginatingObjectID = "Grouping1" id = "Relation2' RelatedObjectID = 'Party2' >
    < OriginatingObjectType tc = "16" > grouping < / OriginatingObjectType >
    < RelatedObjectType tc = "6" > Party < / RelatedObjectType >
    < RelationRoleCode tc = "30" > Member < / RelationRoleCode >
    < / relationship >
    < Relationship OriginatingObjectID = "Party1' id = 'Relation3' RelatedObjectID ="3">
    < OriginatingObjectType tc = "6" > Party < / OriginatingObjectType >
    < RelatedObjectType tc = "6" > Party < / RelatedObjectType >
    < RelationRoleCode tc = "40" > dependent < / RelationRoleCode >
    < / relationship >
    < Relationship OriginatingObjectID = "Holding1" id = "Relation4" RelatedObjectID = "Party1" >
    < OriginatingObjectType tc = "4" > Holding < / OriginatingObjectType >
    < RelatedObjectType tc = "6" > Party < / RelatedObjectType >
    < RelationRoleCode tc = "8" > owner < / RelationRoleCode >
    < / relationship >
    < Relationship OriginatingObjectID = "Holding1" id = "Relationship5" RelatedObjectID = 'Party2' >
    < OriginatingObjectType tc = "4" > Holding < / OriginatingObjectType >
    < RelatedObjectType tc = "6" > Party < / RelatedObjectType >
    < RelationRoleCode tc '184' = > co-owner < / RelationRoleCode >
    < / relationship >
    < Relationship OriginatingObjectID = "Form1" id = "Relation6" RelatedObjectID = "Party1" >
    < OriginatingObjectType tc = "101" > FormInstance < / OriginatingObjectType >
    < RelatedObjectType tc = "6" > Party < / RelatedObjectType >
    < RelationRoleCode tc = "107" > form for < / RelationRoleCode >
    < / relationship >
    < FormInstance id = "Form1" >
    < FormResponse >
    No. < ResponseText > < / ResponseText >
    < QuestionType tc = "1009800001" > the customer/owner with an interest in the account is either: (A) a military, Government or political officer in a country outside the United States or (B) closely associated with or an immediate family member of such official? < / QuestionType >
    < / FormResponse >
    < FormResponse >
    Yes < ResponseText > < / ResponseText >
    < QuestionType tc = "1009800005" > I am familiar with the products sold and determined the appropriate qualities. For deferred variable buys only: I have reasonable grounds to believe that the recommendations for this customer to purchase/Exchange an annuity is suitable on the basis of the existence was revealed by the customer about its investments, insurance products and financial situation and needs. < / QuestionType >
    < / FormResponse >
    < / FormInstance >
    < / OLifE >
    < / TXLifeRequest >
    (< / TXLife > ');
    /

    You must assign the XML (large data) to a variable before attempting to use it in an insert statement. An example is

    DECLARE
      l_xml   CLOB;
    BEGIN
      l_xml := '
    
    UserId
    ...
    ';
    
      INSERT INTO po_clob_tab
      values(100, l_xml);
    END;
    

    Store XML in a CLOB cannot provide the best performance for you, depending on how you plan to use these data. See Oracle XML DB: Choosing the best storage Option of your case (PDF) to http://www.oracle.com/technetwork/database/features/xmldb/index.html use XMLType. This info is especially applicable to 11g versions as well.

  • How to use the same services-config for servers the and remote.

    My flex project works very well using the bottom but when I download my flash on the server I do not work, all the files and related paths are the same execpt remote is a linux server.

    <? XML version = "1.0" encoding = "UTF-8"? >
    <>services-config
    < services >
    < id = 'amfphp-flashremoting-service' service
    Class = "Flex.Messaging.services.RemotingService"
    messageTypes = "flex.messaging.messages.RemotingMessage' >"

    < destination id = "amfphp" >
    <>channels
    < Ref channel = "my-amfphp" / >
    < / channels >
    Properties of <>
    < source > * < / source >
    < / properties >
    < / destination >
    < / service >
    < / services >
    <>channels
    < channel-definition id = "my-amfphp" class = "mx.messaging.channels.AMFChannel" >
    " < endpoint uri = ' http://localhost/domainn.org/AMFPHP/gateway.php "class="flex.messaging.endpoints.AMFEndpoint"/ > "
    < / channel-definition >
    < / channels >
    < / services-config >

    I think the problem is the line


    " < endpoint uri = ' http://localhost/domainn.org/AMFPHP/gateway.php "class="flex.messaging.endpoints.AMFEndpoint"/ > "

    but I don't know how to use the same services-config for servers the and remote.

    I'll back up a bit.

    Breakpoint URLS are defined as follows in the services - config.xml:

    https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure

    The meaning of each of the tokens is clearer when we see them as part of a complete url. If your context root is set to http://localhost , then I have no idea how your application runs in any environment.

    If you leave the server.name and server.port chips in your configuration file, then they will be replaced when executing according to the location from which your application is served. However, the context.root token is replaced at the time of the compilation based on the value that you specify in Flex Builder or when calling mxmlc.

    In order to reuse your file services - config.xml, you must use the same context-root on your development environment and to your deployment environment.

  • My Apple ID has been locked for security reasons. I have all the details to recover my account that the account was created by a child of 6 years. How to unlock my account to use the same?

    My Apple ID has been locked for security reasons. I have all the details to recover my account that the account was created by a child of 6 years. How to unlock my account to use the same?

    < email published by host >

    It is illegal for a child from 6 years to create an Apple ID.

    You can take a date-genius bar with Apple and bring the original receipt Apple.

  • How to collect data on the programs of LabView and VC ++ at the same time?

    Hello

    There are two programs in LabVIEW and another is in VC ++. The two programs to collect hardware data.

    Therefore, for the experience, it is necessary to begin to collect data at the same time and lag must be

    less than millisecond (it is essential for the experience). How can this be achieved? BTW, I'm new to LabView.

    I think on the use of network socket to get the message for both applications.

    I was wondering if there is a better way.

    Thank you.

    MARK002-MAB wrote:

    Hello

    There are two programs in LabVIEW and another is in VC ++. The two programs to collect hardware data.

    Therefore, for the experience, it is necessary to begin to collect data at the same time and lag must be

    less than millisecond (it is essential for the experience). How can this be achieved? BTW, I'm new to LabView.

    I think on the use of network socket to get the message for both applications.

    I was wondering if there is a better way.

    Thank you.

    You do not say if two programs access the same material, but I guess not. Because if they did, you probably get conflicts when the two programs try to access the same material at the same time.

    In either case, the only really reliable way to ensure that your needs of< 1ms="" would="" be="" hardware="" triggering.="" one="" hardware="" unit="" is="" programmed="" to="" provide="" a="" hardware="" trigger,="" typically="" a="" digital="" signal="" and="" the="" other="" is="" programmed="" previous="" to="" the="" desired="" start="" point,="" to="" wait="" for="" that="" trigger="" and="" start="" automatically="" when="" it="" is="" received.="" if="" both="" hardware="" units="" are="" ni="" daq="" cards="" you="" can="" do="" that="" fairly="" easily="" using="" the="" rtsi="" bus="" or="" in="" case="" of="" pxi="" the="" pxi="" trigger="" lines.="" if="" they="" are="" different="" hardware="" then="" it="" can="" get="" more="" complicated="" to="">

  • Use two assistants for the acquisition of data at the same time

    Hello

    I want to read multiple data channels of analog inputs on my DAQ hardware. However, when I try to create two separate data acquisition assistants for each entry, it gives an error saying "is reserved for the specified resource. The operation could not be performed as indicated "." Can't use two assistants for the acquisition of data at the same time?

    I have to add different channels in the same assistant DAQ? I tried, but I couldn't separate the data in different graphs.

    How does this work?

    Kind regards

    Allard

    You can't have multiple tasks of the same type (in this case inputs analog) on the same device.  Just so having 1 DAQ Assistant read all your channels and separate your channels for individual transformation.

  • Created a form of the ADF since a human task - how to get other human tasks use the same form ADF?

    We are new on the forms of the ADF and we have a simple workflow with a few different human tasks.

    The task of the initiator, I right click it and automatically generated a form of the ADF.

    The rest of the human tasks have the same payload, and I want just the other human tasks use the same ADF form I've already created. How can I do this?

    Thank you.

    Yes, there is a way to reuse the shape of the ADF and its workflow for several human tasks as long as the payload is the same.  To do this:

    1. Open the file "hwtaskflow.xml" inside your project of the ADF.  It will be difficult to read when you first open it so right mouse click the xml file-> select "reformat".
    2. Copy the 6 lines with the element with the form that you want to reuse-> pick up the 6 lines in the file under the rows that you copied.  The and elements in the text that was copied just need to be changed from the old human task name (for example, ".../MyHumanTaskOriginal") on behalf of the human recycled news of the task (for example, ".../MyHumanTaskReused").  Don't forget to leave the text in the and items of value to their original name.
    3. Redeploy the project.

    Dan

  • How to export data to excel that has 2 tables with the same number of columns and the column names?

    Hi everyone, yet once landed upward with a problem.

    After trying many things to myself, finally decided to post here...

    I created a form in form builder 6i in which clicking on a button, the data gets exported to the excel sheet.

    It works very well with a single table. The problem now is that I cannot do the same with 2 tables.

    Because the tables have the same number of columns and the columns names.

    Here are the 2 tables with column names:

    Table-1 (MONTHLY_PART_1) Table-2 (MONTHLY_PART_2)
    SL_NOSL_NO
    MODELMODEL
    END_DATEEND_DATE
    U-1U-1
    U-2U-2
    U-4U-4
    ..................
    ..................
    U-20U-20
    U-25U-25

    Given that the tables have the same column names, I get the following error :

    402 error at line 103, column 4

    required aliases in the SELECT list of the slider to avoid duplicate column names.

    So how to export data to excel that has 2 tables with the same number of columns and the column names?

    Should I paste the code? Should I publish this query in 'SQL and PL/SQL ' Forum?

    Help me with this please.

    Thank you.

    Wait a second... is this a kind of House of partitioning? Shouldn't it is a union of two tables instead a join?

    see you soon

  • In the date picker, how can I default to select * dates if the user has...

    In the date picker, how can I default to select * dates if the user does not select a date.
    Thank you
    Doug

    Doug,

    Now lets say l want everything
    

    Could you post some sample data and the output you want to get... ? It would be very easy to understand the requirements...

    When you mean everything, I guess you need all possible dates between date1 and date2.

    You can use... (to asktom.oracle.com).

      1  select to_date('12-jan-2009','DD-MON-YYYY') + rownum -1
      2    from ALL_OBJECTS
      3    where rownum <= (to_date('20-jan-2009','dd-mon-yyyy') -
      4*                     to_date('12-jan-2009','DD-MON-YYYY') +1 )
    sql> /
    
    TO_DATE('
    ---------
    12-JAN-09
    13-JAN-09
    14-JAN-09
    15-JAN-09
    16-JAN-09
    17-JAN-09
    18-JAN-09
    19-JAN-09
    20-JAN-09
    
    9 rows selected.
    
    For your case, since you have date1 and date2...
    
    select to_date(:p12_date1,'DD-MON-YYYY') + rownum -1
      from ALL_OBJECTS
      where rownum <= (to_date(:p12_date2,'dd-mon-yyyy') -
                        to_date(:p12_date1,'DD-MON-YYYY') +1 )
    

    Should work... in my opinion... Have not tested the other by their Summit.

    Is that what you're looking for... ?? If no, please give details...

    Thank you
    Rajesh.

Maybe you are looking for