Performance ora:view and collection()

ora:view allows an XML structured table to be used in a XQuery "for" clause, while collection processes a set of documents in a directory. Normally these are two different sets of data.
However, with XDB I can have a WEBDAV directory which can consist of documents, all of which are stored in schema based structured storage.
Given this situation, where the ora:view and the collection() happen to be the exact same set of data (and this condition may be a rare corner case for many people), is there a performance difference between these two methods of access?
The underlying question I am wondering is whether collection() will be rewritten to take advantage of any indexing on the structured data, in this sitution.
A collection() directory can consist of XML in both structured and unstructured storage, in this case does the query reduce everything to the lowest common denominator (CLOB), or are any of the advantages of structured storage utilized?
Thanks,
Howard

Howard,
That's a good question. You should use ora:view() instead of collection(). Using ora:view() will give you better performance. Please contact me directly (geoff dot lee at oracle dot com) to discuss further.
Regards,
Geoff

Similar Messages

  • Selecting from Views and ORA-0600

    Hi All,
    I am using Oracle 9i and was looking for some guidance on the issue I am seeing.
    I have this huge query in which some dataelements are obtained using sys_connect_by_path while the others are got directly. I have set this huge query set up as a view (GetDataView).
    I am now trying to query from the view. (I am using a stored procedure to get dataelements from the view and output as a xml).
    When I do a 'select * from GetDataView' , the results come back fine. Also, when I query the dataelements which are obtained directly (without sys_connect_by_path), they come back fine as well. However, when I try and get the dataelements which are obtained using
    sys_connect_by_path, I get the error :
    "An error was encountered while performing the requested operation:
    ORA-00600: internal error code, arguments:qkacon:qkaconGetPathOps:1],[,],[,],[,],[
    00600.0000 - "internal error code, arguments: %s,%s,%s,%s,%s,%s,%s,%s".
    I know that this is a known issue with Oracle 9i when using sys_connect_by_path but this huge query executes perfectly when I run it independently.
    It is only when I try to query the view for individual dataelements(which use sys_connect_by_path) that I get this error.
    Can you pls point out what the problem could be here? Also, can you pls suggest any workarounds that I could try.
    Thanks in advance,
    AD
    Query which uses SYS_CONNECT_BY_PATH for certain elements - This is set up as a View
    SELECT --nrtd dataelements (Non Relational Test Data)
    nrtd.ID, nrtd.DevelopmentSite, nrtd.ProjectStatus, nrtd.ProjectType, nrtd.Creator, nrtd.Business_Unit,
    nrtd.Division, nrtd.Strategy,
    --Special Case : First Generic from NewModels if FF, TD, PD, FFC, BD. PromisWaferIdentifier from WaferInformation if New Wafer or New Die
    nmwigen.SAPGenericID,
    nrtd.AssemblySite,
    rwid.FabSite,
    nrtd.packagetype, nrtd.directreleasestrat,
    nrtd.testsite, nrtd.packsite, nrtd.umbrellaproject_id, nrtd.keycustomers, nrtd.ProjectedReleasedate,
    nrtd.perfwwmfgnpcoordinator, nrtd.perfwwmfgoffshoretesteng, nrtd.packagedesignator, nrtd.leadballcount, nrtd.bodysize,
    nrtd.finishcode, nrtd.pkgnumber, nrtd.pkgstatus, nrtd.pborpbfree, nrtd.paddlex, nrtd.PaddleY,
    nrtd.BackGrind, nrtd.LeadFrameType, nrtd.PiecePart, nrtd.assypackoption,
    nrtd.testprocess, nrtd.contactorresreq, nrtd.highrfrequired, nrtd.PeakCurrent, nrtd.AssignedFocusFactory,
    nrtd.MfgReleaseReqStatus , nrtd.NumActuators , nrtd.NumBoards, nrtd.numcontactors,
    nrtd.IsQualPlanRequired, nrtd.QualNumber, nrtd.FailedQualProjectdisposition,
    nrtd.IdentifiedActionFromQualReview,
    --rtgd dataelements (Relational TestGrades Data)
    rtgd.ProductGrade, rtgd.SpeedSuffix, rtgd.PartClass,
    rtgd.MultiGrade, rtgd.EstTotalTestTimeGood, rtgd.EstTotalTestTimeBad,
    rtgd. ActTotalTestTimeGood, rtgd.ActTotalTestTimeBad, rtgd.EstOverAllYield,
    rtgd.EstYieldToGrade, rtgd.ActOverAllYield, rtgd.ActYieldToGrade,
    -- rnmd dataelements (Relational NewModels Data)
    rnmd.ActualFGMaterialNum, rnmd.PackOption, rnmd.IsReleasedMaterial,
    --rtpd dataelements (Relational TestPasses Data)
    rtpd.Contactor, rtpd.Handler, rtpd.TesterConfig, rtpd.NumTestSites,
    rtpd.TestTemp, rtpd.SpecialTest, --rtpd.SpecialTestCommByPassPerGrade,
    rtpd.EstTestTimeGood, rtpd.EstTestTimeBad, rtpd.ActTestTimeGood,
    rtpd.ActTestTimeBad,
    --rwid dataelements (Relational WaferInformation Data)
    rwid.WID, rwid.WaferDesignType, rwid.WaferSize, rwid.FabProcessCode, rwid.FabProcessStatus, rwid.FndryFabPlantCode, rwid.EstTapeOutDate,
    rwid.EstXWidth, rwid.EstGDPW, rwid.EstYLength, rwid.PowerDissipation, rwid.XWidth, rwid.YLength,
    rwid.OMSVendorName, rwid.GDPW, rwid.IsReleaseOnPizzaMask, rwid.FabMfgReleaseReqStatus, rwid.FabMfgReleaseReqComments,
    --rtpid dataelements (Relational TrimProbeInformation Data)
    rtpid.ProbeSite, rtpid.ProbeType, rtpid.DieDesignType, rtpid.probemfgreleasereqstatus,
    rtpid.probemfgreleasereqcomments, rtpid.isvendorpartonwfrordsht,
    --rtpgd dataelements (Relational TrimProbeGrade Data)
    rtpgd.ProbeGrade, rtpgd.EstProbeYield1, rtpgd.EstTotalProbeTimeGood, rtpgd.EstTotalProbeTimeBad,
    rtpgd.ActProbeYield, rtpgd.ActTotalProbeTimeGood, rtpgd.ActTotalProbeTimeBad,
    --rtppd dataelements (Relational TrimProbePasses Data)
    rtppd.TrimProbeSystem, rtppd.NumProbeSites, rtppd.ProbeTempReqd1, rtppd.ProbeTemp
    --Non relational TestData data elements. Alias Table 'nrtd'
    FROM (SELECT npip.id AS ID, npip.developmentsite AS DevelopmentSite, npip.projectstatus AS ProjectStatus,
    npip.ProjectType AS ProjectType, pt.Creator, ss.Business_Unit, ss.Division, npip.strategy_name AS Strategy,
    ffi.assemblysite, ffi.packagetype, ti.directreleasestrat AS directreleasestrat,
    ti.testsite, ti.PackSite, npip.umbrellaproject_id, npip.keycustomers, npip.projectedreleasedate AS ProjectedReleasedate,
    pt.perfwwmfgnpcoordinator AS perfwwmfgnpcoordinator, pt.perfwwmfgoffshoretesteng AS perfwwmfgoffshoretesteng, ffi.packagedesignator,
    ffi.leadballcount, ffi.bodysize, ffi.finishcode AS finishcode, ffi.pkgnumber, ffi.pkgstatus,
    ffi.pborpbfree AS pborpbfree, ffi.paddlex AS paddlex, ffi.paddley AS paddley, ffi.backgrind AS backgrind,
    ffi.LeadFrameType, ffi.PiecePart AS PiecePart, ffi.assypackoption AS assypackoption,
    ti.testprocess AS testprocess, ti.contactorresreq AS contactorresreq,
    ti.highrfrequired AS highrfrequired, ti.PeakCurrent AS PeakCurrent, vp.AssignedFocusFactory,
    vp.MfgReleaseReqStatus AS MfgReleaseReqStatus, vp.NumActuators AS NumActuators, vp.NumBoards AS NumBoards,
    vp.numcontactors AS numcontactors, qi.IsQualPlanRequired, qi.QualNumber, qi.FailedQualProjectdisposition,
    qi.IdentifiedActionFromQualReview
    FROM NPIProjects npip
    LEFT OUTER JOIN ProjectTeam pt ON pt.NPIProjectId = npip.Id
    LEFT OUTER JOIN sapws_strategies ss ON ss.Strategy = npip.strategy_name
    LEFT OUTER JOIN FormFactorInformation ffi ON ffi.NPIProjectId = npip.Id
    LEFT OUTER JOIN TestInformation ti ON ti.FormFactorInformationId = ffi.Id
    LEFT OUTER JOIN ValidationPlans vp ON vp.FormFactorInformationId = ffi.Id
    LEFT OUTER JOIN QualInformation qi ON qi.FormFactorInformationId = ffi.Id) nrtd,
    -- Relational data elements.
    --TestGrades DataElements. Alias Table 'rtgd'
    (SELECT NPIProjectID,
    (LTRIM(sys_connect_by_path(ProductGrade,';'),';')) ProductGrade,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| SpeedSuffix,';'),';')) SpeedSuffix,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| PartClass,';'),';')) PartClass,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| MultiGrade,';'),';')) MultiGrade,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| EstTotalTestTimeGood,';'),';')) EstTotalTestTimeGood,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| EstTotalTestTimeBad,';'),';')) EstTotalTestTimeBad,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| ActTotalTestTimeGood,';'),';')) ActTotalTestTimeGood,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| ActTotalTestTimeBad,';'),';')) ActTotalTestTimeBad,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| EstOverAllYield,';'),';')) EstOverAllYield,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| EstYieldToGrade,';'),';')) EstYieldToGrade,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| ActualOverAllYield,';'),';')) ActOverAllYield,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| ActualYieldToGrade,';'),';')) ActYieldToGrade
    FROM (SELECT npip.id AS NPIProjectID, tg.ProductGrade AS ProductGrade,
    tg.SpeedSuffix AS SpeedSuffix, tg.PartClass AS PartClass, tg.MultiGrade AS MultiGrade,
    tg.EstTotalTestTimeGood AS EstTotalTestTimeGood, tg.EstTotalTestTimeBad AS EstTotalTestTimeBad,
    tg.ActTotalTestTimeGood AS ActTotalTestTimeGood, tg.ActTotalTestTimeBad AS ActTotalTestTimeBad,
    tg.EstOverAllYield AS EstOverAllYield, tg.EstYieldToGrade AS EstYieldToGrade, tg.ActualOverAllYield AS ActualOverAllYield,
    tg.ActualYieldToGrade AS ActualYieldToGrade,
    row_number() OVER (PARTITION BY npip.id ORDER BY npip.id) rnum,
    COUNT(*) OVER (PARTITION BY npip.id) tot
    FROM NPIProjects npip LEFT OUTER JOIN FormFactorInformation ffi ON ffi.NPIProjectId = npip.Id
    LEFT OUTER JOIN TestGrades tg ON tg.FormFactorInformationId = ffi.Id)
    WHERE rnum=tot START WITH rnum =1 CONNECT BY PRIOR rnum = rnum-1 AND PRIOR NPIProjectID = NPIProjectID) rtgd,
    -- NewModels DataElements. Alias Table 'rnmd'
    (SELECT NPIProjectID,
    (LTRIM(sys_connect_by_path(ActualFGMaterialNum,';'),';')) ActualFGMaterialNum,
    (LTRIM(sys_connect_by_path(PackOption,';'),';')) PackOption,
    (LTRIM(sys_connect_by_path(IsReleasedMaterial,';'),';')) IsReleasedMaterial
    FROM (SELECT npip.id AS NPIProjectID,
    nm.ActualFGMaterialNum AS ActualFGMaterialNum,
    nm.PackOption AS PackOption, nm.IsReleasedMaterial AS IsReleasedMaterial,
    row_number() OVER (PARTITION BY npip.id ORDER BY npip.id) rnum,
    COUNT(*) OVER (PARTITION BY npip.id) tot
    FROM NPIProjects npip LEFT OUTER JOIN FormFactorInformation ffi ON ffi.NPIProjectId = npip.Id
    LEFT OUTER JOIN TestGrades tg ON tg.FormFactorInformationId = ffi.Id
    LEFT OUTER JOIN NewModels nm ON nm.TestGradesID = tg.Id)
    WHERE rnum=tot START WITH rnum =1 CONNECT BY PRIOR rnum = rnum-1 AND PRIOR NPIProjectID = NPIProjectID) rnmd,
    --SAPGenericID from NewModels Table for FF, TD, BD, PD and PromisWaferIdentifier from WaferInformation Table for New Wafer and New Die
    (SELECT npip.id AS NPIProjectID, decode(npip.projecttype, 'New Wafer', wi.PromisWaferIdentifier, 'New Die', wi.PromisWaferIdentifier, nm.SAPGenericID)SAPGenericID --nm.SAPGenericID
    FROM NPIProjects npip LEFT OUTER JOIN FormFactorInformation ffi ON ffi.NPIProjectId = npip.Id
    LEFT OUTER JOIN WaferInformation wi ON wi.NPIProjectId = npip.Id
    LEFT OUTER JOIN (Select FormFactorInformationID, min(ID)ID from TestGrades GROUP BY FormFactorInformationID) tg ON (tg.FormFactorInformationId = ffi.Id)
    LEFT OUTER JOIN (Select TestGradesID, min(SAPGenericID)SAPGenericID from NewModels GROUP BY TestGradesID) nm ON (nm.TestGradesID = tg.ID)) nmwigen,
    -- Relational TestPasses data. Alias Table 'rtpd'
    (SELECT NPIProjectID,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| Contactor,';'),';')) Contactor,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| Handler,';'),';')) Handler,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| TesterConfig,';'),';')) TesterConfig,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| NumTestSites,';'),';')) NumTestSites,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| TestTemp,';'),';')) TestTemp,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| SpecialTest,';'),';')) SpecialTest,
    --(LTRIM(sys_connect_by_path(ProductGrade || '-'|| SpecialTestComments,';'),';')) SpecialTestCommByPassPerGrade,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| EstTestTimeGood,';'),';')) EstTestTimeGood,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| EstTestTimeBad,';'),';')) EstTestTimeBad,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| ActTestTimeGood,';'),';')) ActTestTimeGood,
    (LTRIM(sys_connect_by_path(ProductGrade || '-'|| ActTestTimeBad,';'),';')) ActTestTimeBad
    FROM (SELECT npip.id AS NPIProjectID, tg.ProductGrade AS ProductGrade, tp.contactor AS Contactor,
    tp.Handler AS Handler, tp.TesterConfig AS TesterConfig, tp.NumTestSites AS NumTestSites,
    tp.testtemp AS TestTemp, tp.SpecialTest AS SpecialTest, --tp.SpecialtestComment AS SpecialTestComments,
    tp.EstTestTimeGood AS EstTestTimeGood, tp.EstTestTimeBad AS EstTestTimeBad,
    tp.ActTestTimeGood AS ActTestTimeGood, tp.ActTestTimeBad AS ActTestTimeBad,
    row_number() OVER (PARTITION BY npip.id ORDER BY npip.id) rnum,
    COUNT(*) OVER (PARTITION BY npip.id) tot
    FROM NPIProjects npip LEFT OUTER JOIN FormFactorInformation ffi ON ffi.NPIProjectId = npip.Id
    LEFT OUTER JOIN TestGrades tg ON tg.FormFactorInformationId = ffi.Id
    LEFT OUTER JOIN TestPasses tp ON tp.TestGradesID = tg.Id)
    WHERE rnum=tot START WITH rnum =1 CONNECT BY PRIOR rnum = rnum-1 AND PRIOR NPIProjectID = NPIProjectID)rtpd,
    -- Relational WaferInformation data Alias Table 'rwid'
    (SELECT NPIProjectID,
    (LTRIM(sys_connect_by_path(WID,';'),';')) WID,
    (LTRIM(sys_connect_by_path(FabSite,';'),';')) FabSite,
    (LTRIM(sys_connect_by_path(WaferDesignType,';'),';')) WaferDesignType,
    (LTRIM(sys_connect_by_path(WaferSize,';'),';')) WaferSize,
    (LTRIM(sys_connect_by_path(FabProcessCode,';'),';')) FabProcessCode,
    (LTRIM(sys_connect_by_path(FabProcessStatus,';'),';')) FabProcessStatus,
    (LTRIM(sys_connect_by_path(FndryFabPlantCode,';'),';')) FndryFabPlantCode,
    (LTRIM(sys_connect_by_path(EstTapeOutDate,';'),';')) EstTapeOutDate,
    (LTRIM(sys_connect_by_path(EstXWidth,';'),';')) EstXWidth,
    (LTRIM(sys_connect_by_path(EstGDPW,';'),';')) EstGDPW,
    (LTRIM(sys_connect_by_path(EstYLength,';'),';')) EstYLength,
    (LTRIM(sys_connect_by_path(PowerDissipation,';'),';')) PowerDissipation,
    (LTRIM(sys_connect_by_path(XWidth,';'),';')) XWidth,
    (LTRIM(sys_connect_by_path(YLength,';'),';')) YLength,
    (LTRIM(sys_connect_by_path(OMSVendorName,';'),';')) OMSVendorName,
    (LTRIM(sys_connect_by_path(GDPW,';'),';')) GDPW,
    (LTRIM(sys_connect_by_path(IsReleaseOnPizzaMask,';'),';')) IsReleaseOnPizzaMask,
    (LTRIM(sys_connect_by_path(FabMfgReleaseReqStatus,';'),';')) FabMfgReleaseReqStatus,
    (LTRIM(sys_connect_by_path(FabMfgReleaseReqComments,';'),';')) FabMfgReleaseReqComments
    FROM (SELECT npip.id AS NPIProjectID, wi.WID AS WID, decode(npip.ProjectType, 'New Wafer', wi.FabSite, 'New Die', wi.FabSite, di.FabSite) AS FabSite, wi.WaferDesignType AS WaferDesignType,
    wi.WaferSize AS WaferSize, wi.FabProcessCode AS FabProcessCode, wi.FabProcessStatus AS FabProcessStatus,
    wi.FndryFabPlantCode AS FndryFabPlantCode, wi.EstTapeOutDate AS EstTapeOutDate, wi.EstXWidth AS EstXWidth,
    wi.ESTGDPW AS EstGDPW, wi.EstYLength AS EstYLength, wi.PowerDissipation AS PowerDissipation,
    wi.XWidth AS XWidth, wi.YLength AS YLength,
    wi.OMSVendorName AS OMSVendorName, wi.GDPW AS GDPW, wi.IsReleaseOnPizzaMask AS IsReleaseOnPizzaMask,
    wi.FabMfgReleaseReqStatus AS FabMfgReleaseReqStatus, wi.FabMfgReleaseReqComments AS FabMfgReleaseReqComments,
    row_number() OVER (PARTITION BY npip.id ORDER BY npip.id) rnum,
    COUNT(*) OVER (PARTITION BY npip.id) tot
    FROM NPIProjects npip LEFT OUTER JOIN DieInformation di ON di.NPIProjectId = npip.Id
    LEFT OUTER JOIN TrimProbeInformation tpi ON tpi.Id = di.TrimProbeInformation_id
    LEFT OUTER JOIN WaferInformation wi ON wi.WID = tpi.WaferInformation_id)
    WHERE rnum=tot START WITH rnum =1 CONNECT BY PRIOR rnum = rnum-1 AND PRIOR NPIProjectID = NPIProjectID)rwid,
    -- relational TrimProbeInformation Dataelements . Alias Table 'rtpid'
    (SELECT NPIProjectID,
    (LTRIM(sys_connect_by_path(ProbeSite,';'),';')) ProbeSite,
    (LTRIM(sys_connect_by_path(ProbeType,';'),';')) ProbeType,
    (LTRIM(sys_connect_by_path(DieDesignType,';'),';')) DieDesignType,
    (LTRIM(sys_connect_by_path(probemfgreleasereqstatus,';'),';')) probemfgreleasereqstatus,
    (LTRIM(sys_connect_by_path(probemfgreleasereqcomments,';'),';')) probemfgreleasereqcomments,
    (LTRIM(sys_connect_by_path(isvendorpartonwfrordsht,';'),';')) isvendorpartonwfrordsht
    FROM (SELECT npip.id AS NPIProjectID,tpi.ProbeSite AS ProbeSite, tpi.ProbeType AS ProbeType,
    tpi.DieDesignType AS DieDesignType, tpi.probemfgreleasereqstatus AS probemfgreleasereqstatus,
    tpi.probemfgreleasereqcomments AS probemfgreleasereqcomments,
    tpi.isvendorpartonwfrordsht AS isvendorpartonwfrordsht,
    row_number() OVER (PARTITION BY npip.id ORDER BY npip.id) rnum,
    COUNT(*) OVER (PARTITION BY npip.id) tot
    FROM NPIProjects npip LEFT OUTER JOIN WaferInformation wi ON wi.NPIProjectId = npip.Id
    LEFT OUTER JOIN TrimProbeInformation tpi ON tpi.waferinformation_id = wi.wid)
    WHERE rnum=tot START WITH rnum =1 CONNECT BY PRIOR rnum = rnum-1 AND PRIOR NPIProjectID = NPIProjectID)rtpid,
    -- Relational TrimProbeGrades Dataelements . Alias Table 'rtpgd'
    (SELECT NPIProjectID,
    (LTRIM(sys_connect_by_path(ProbeGrade,';'),';')) ProbeGrade,
    (LTRIM(sys_connect_by_path(ProbeGrade || '-'|| EstProbeYield1,';'),';')) EstProbeYield1,
    (LTRIM(sys_connect_by_path(ProbeGrade || '-'|| EstTotalProbeTimeGood,';'),';')) EstTotalProbeTimeGood,
    (LTRIM(sys_connect_by_path(ProbeGrade || '-'|| EstTotalProbeTimeBad,';'),';')) EstTotalProbeTimeBad,
    (LTRIM(sys_connect_by_path(ProbeGrade || '-'|| ActProbeYield,';'),';')) ActProbeYield,
    (LTRIM(sys_connect_by_path(ProbeGrade || '-'|| ActTotalProbeTimeGood,';'),';')) ActTotalProbeTimeGood,
    (LTRIM(sys_connect_by_path(ProbeGrade || '-'|| ActTotalProbeTimeBad,';'),';')) ActTotalProbeTimeBad
    FROM (SELECT npip.id AS NPIProjectID, tpg.ProbeGrade AS ProbeGrade, decode(tpg.EstProbeYield, null, tpg.EstProbeYield, tpg.EstProbeYield1) AS EstProbeYield1,
    tpg.EstTotalProbeTimeGood AS EstTotalProbeTimeGood, tpg.EstTotalProbeTimeBad AS EstTotalProbeTimeBad,
    tpg.ActProbeYield AS ActProbeYield, tpg.ActTotalProbeTimeGood AS ActTotalProbeTimeGood,
    tpg.ActTotalProbeTimeBad AS ActTotalProbeTimeBad,
    row_number() OVER (PARTITION BY npip.id ORDER BY npip.id) rnum,
    COUNT(*) OVER (PARTITION BY npip.id) tot
    FROM NPIProjects npip LEFT OUTER JOIN DieInformation di ON di.NPIProjectid = npip.id
    LEFT OUTER JOIN TrimProbeInformation tpi ON tpi.Id = di.TrimProbeInformation_id
    LEFT OUTER JOIN TrimProbeGrades tpg ON tpg.TrimProbeInformation_Id = tpi.Id)
    WHERE rnum=tot START WITH rnum =1 CONNECT BY PRIOR rnum = rnum-1 AND PRIOR NPIProjectID = NPIProjectID)rtpgd,
    -- Relational TrimProbePasses data. Alias Table 'rtppd'
    (SELECT NPIProjectID,
    (LTRIM(sys_connect_by_path(ProbeGrade || '-'|| TrimProbeSystem,';'),';')) TrimProbeSystem,
    (LTRIM(sys_connect_by_path(ProbeGrade || '-'|| NumProbeSites,';'),';')) NumProbeSites,
    (LTRIM(sys_connect_by_path(ProbeGrade || '-'|| ProbeTempReqd1,';'),';')) ProbeTempReqd1,
    (LTRIM(sys_connect_by_path(ProbeGrade || '-'|| ProbeTemp,';'),';')) ProbeTemp
    FROM (SELECT npip.id AS NPIProjectID, tpg.ProbeGrade AS ProbeGrade,
    tpp.TrimProbeSystem AS TrimProbeSystem, tpp.NumProbeSites AS NumProbeSites,
    decode(tpp.ProbeTempReqd, null, tpp.ProbeTempReqd1,tpp.ProbeTempReqd1) AS ProbeTempReqd1, tpp.ProbeTemp AS ProbeTemp,
    row_number() OVER (PARTITION BY npip.id ORDER BY npip.id) rnum,
    COUNT(*) OVER (PARTITION BY npip.id) tot
    FROM NPIProjects npip LEFT OUTER JOIN DieInformation di ON di.NPIProjectid = npip.id
    LEFT OUTER JOIN TrimProbeInformation tpi ON tpi.Id = di.TrimProbeInformation_id
    LEFT OUTER JOIN TrimProbeGrades tpg ON tpg.TrimProbeInformation_Id = tpi.Id
    LEFT OUTER JOIN TrimProbePasses tpp ON tpp.TrimProbeGrades_Id = tpg.Id)
    WHERE rnum=tot START WITH rnum =1 CONNECT BY PRIOR rnum = rnum-1 AND PRIOR NPIProjectID = NPIProjectID)rtppd
    WHERE nrtd.ID = rtpid.NPIProjectID
    AND rtpid.NPIProjectID = rtgd.NPIProjectID
    AND nrtd.ID = rtpd.NPIProjectID
    AND nrtd.ID = rnmd.NPIProjectID
    AND nrtd.ID = nmwigen.NPIProjectID
    AND rtgd.NPIProjectID = rwid.NPIProjectID
    AND nrtd.ID = rtpgd.NPIProjectID
    AND nrtd.ID = rtppd.NPIProjectID

    Two thoughts.
    1. ORA-00600 = open an SR at metalink
    2. Oracle 9i is in desupport so Oracle is going to suggest that you move this to a currently supported version: Especially if 9i means anything other than 9.2.0.8.
    Your query will likely be put to good use by Oracle showing how E-Business Suite is superior to SAP. <g>

  • Using family sharing, how does one view and download songs from a family member's collection in itunes?

    Using family sharing, how does one view and download songs from a family member's collection in itunes?

    When you click on your device you are presented with the pages
    Summary
    Info
    Apps
    Tones
    Music
    Movies
    TV shows
    Books
    Photos
    To remove Audiobooks depending on the type of Audiobook ie a series of mp3 files you will find under music and probably have to deselect the album name to remove it. I don't have any of these as I download from Audible or I use Audiobook Builder to stictch together mp3 files into m4b files. To find these Click on Books you will immediately see a section for books (in reality ebooks). Scroll down past that and you will see Audiobooks where you can select and deselect. Deselect the required Audiobooks and Click Sync

  • Custom thumbs views and creating collections

    Been looking for answers to a couple of questions in Bridge Scripting.
    The first has been asked before and i don't think answered (at least not in this forum). Can one make a customized view dynamically via code - i.e. the ability to set a thumbnail node and NOT view all of the images in that directory. Someone had mentioned using a custom browse scheme but i have to admit documentation for this kind of code is somewhat lacking... I would like to be able to set exactly what shows in Content Browser using code. (obviously not using thumbnail.children as that is read only.)
    SEcond, is there a way to create a collection via code? I would like to create a 'find' function with keywords to search for and folder to search in, on the fly, and then save it as a collection, all with scripting.
    OK, i lied i actually have a third question... how to set things like view filter or sort programmatically?
    whew... okay, that's it for this evening. I'm really hoping Bridge scripting can do these sorts of things, as it feels much to limited otherwise.
    thanks all, any helps is always appreciated... short of actually doing my work for me (which you're welcome to do :)
    Steve Sterling
    Adidam

    Pam,
    I actually want somewhat of the similar material.  In this thread I found a partial answer:
    Genil/BOL - Define Simple Objects
    The package CRM_GENIL_SAMPLE shows how to use the simple objects to create the new BOL object.  However that only gets you part of the way there.  It would be nice if there was a full end to end example of what you want to do, which basically build a component from scratch.
    For you second example I think you can enhance an existing view and then add a "value" node in the context.  In the value node set/get methods or the enhanced custom controller you can then call your RFC function module.   I think that is how it is supposed to wrok.
    EEWB is really only for creating new fields/tables.  The worst part also if you already have things created from a previous release using the darn EEWB, then you have to manually migrate that work.  However I would take the new webclient over the PCUI, on almost any given day.  The SAPGUI vs webclient is a tossup.
    Take care,
    Stephen

  • Performance issues when using Smart View and Excel 2010

    Hello, we are experiencing very slow retrieval times when using Smart View and Excel 2010. Currently on v.11.1.3.00 and moved over from Excel 2003 in the last quarter. The same spreadsheets in 2010 (recreated) are running much slower than they used to in 2003 and I was wondering if anyone else out there has experienced similar problems?
    It looks like there is some background caching going on as when you copy and paste the contents into a new file and retrieve it is better.....initially. The size of the files are generally less than 2mb and there aren't an expecially large number of subcubes requested so I am at a loss to explain or alleviate the issues.
    Any advice / tips on how to optimise the performance would be greatly appreciated.
    Thanks,
    Nick

    Hi Nick,
    Office 2010 (32 bit) only is supported.
    Also check these documents:
    Refresh in Smart View 11.1.2.1 is Slow with MS Office 2010. (Doc ID 1362557.1)
    Smart View Refresh Returns Zeros (Doc ID 758892.1)
    Internet Explorer (IE7, IE8 and IE9) Recommended Settings for Oracle Hyperion Products (Doc ID 820892.1)
    Thank you,
    Charles Babu J
    Edited by: CJX on Nov 15, 2011 12:21 PM

  • MATERIALIZED VIEW ORA-12006 and ORA-08103

    We have an old 9.2.0.6 database which uses materialized views to access information from other systems via database links. One of these views though will no longer refresh, the others are OK including ones using the same database link and source system.
    When we try to refresh get:
    CREATE MATERIALIZED VIEW <user>.<materialized view>
    REFRESH FORCE
    AS SELECT *
    FROM <source user>.<source table>@<database link>
    AS SELECT *
    ERROR at line 3:
    ORA-12006: a materialized view with the same user.name already exists
    drop MATERIALIZED VIEW <user>.<materialized view>
    ERROR at line 1:
    ORA-08103: object no longer exists
    Obviously we can't rename the view and because of various restrictions I can't upgrade the database, we are in the process of migrating it to 11g.
    Does anyone have a magic bullet to resolve this as I have been looking around and haven't found an answer as yet.

    Sorry you think the results are confusing but they are the results, obviously I have to protect exact names etc...
    Materialized View system:
    Shows other views for other source systems but not the ones for this source system.
    It shows these ones as an object_type of TABLE in dba_objects even though they were created as materilized views.
    Source system select:
    OBJECT_NAME OBJECT_TYPE OWNER
    <table name> TABLE <table owner>
    <table name> SYNONYM PUBLIC
    If I use a new name yes it does resolve the issue but I don't want to use a different name if possible as either the application guys have to change some code or I will have to build in another level of synonyms to translate the new name. At the end of the day if this is the only solution!

  • What Performance Load for simulationg end-use load for Power View and Excel Services?

    I have SQL Server 2014 DW, OLAP Cube, SharePoint 2013, Power View(Silverlight) and Excel Services.
    I would like to monitor performance with perfmon and analyse results with PAL.
    But how to generate end-user load for 1000 users? We would have several end-user roles to simulate each clicking differents slicers in reports.
    What tools are capable for this?
    Any experiences about HP Loadrunner or Neoload with MS BI tools?
    Does Microsoft have any compatible load generation tool?
    Kenny_I

    Simplest:
    Write an MDX script with randomized parameter to be executed in a loop using SSMS.
    Run the script in 50 SSMS query windows. Run it on 20 machines (20x50 = 1000).
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • [8i] Performance difference between a view and an in-line view?

    I have a query with a few 'UNION ALL' statements... each chunk of the query that is joined by the 'UNION ALL' references the same in-line view, but in each chunk it is joined to different tables. If I actually create the view and reference it in each chunk, will it still run the query behind the view for each chunk, or will it only do it once? I just want to know if it will improve the performance of my query. And, I'm not talking about creating a materialized view, just a regular one.

    Because of the complexity of my query, I tried out a simple (really simple) example instead...
    First, I created my simple view
    Then, I ran a query with a UNION ALL in it against that view
    Next, I ran the same UNION ALL query, but using in-line views instead of the one I created, and these are the results I got:
    (against the view I created)
    890 rows selected.
    Execution Plan
       0      SELECT STATEMENT Optimizer=RULE
       1    0   UNION-ALL
       2    1     TABLE ACCESS (BY INDEX ROWID) OF 'PART'
       3    2       INDEX (RANGE SCAN) OF 'PART_PK' (UNIQUE)
       4    1     TABLE ACCESS (BY INDEX ROWID) OF 'PART'
       5    4       INDEX (RANGE SCAN) OF 'PART_PK' (UNIQUE)
    Statistics
             14  recursive calls
              0  db block gets
           1080  consistent gets
            583  physical reads
              0  redo size
          54543  bytes sent via SQL*Net to client
           4559  bytes received via SQL*Net from client
             61  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
            890  rows processed
    timing for: query_timer
    Elapsed: 00:00:01.67(with in-line views)
    890 rows selected.
    Execution Plan
       0      SELECT STATEMENT Optimizer=RULE
       1    0   UNION-ALL
       2    1     TABLE ACCESS (BY INDEX ROWID) OF 'PART'
       3    2       INDEX (RANGE SCAN) OF 'PART_PK' (UNIQUE)
       4    1     TABLE ACCESS (BY INDEX ROWID) OF 'PART'
       5    4       INDEX (RANGE SCAN) OF 'PART_PK' (UNIQUE)
    Statistics
              0  recursive calls
              0  db block gets
           1076  consistent gets
            582  physical reads
              0  redo size
          54543  bytes sent via SQL*Net to client
           4559  bytes received via SQL*Net from client
             61  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
            890  rows processed
    timing for: query_timer
    Elapsed: 00:00:00.70Here, it appears that the explain plans are the same, though the statistics and time show better performance with using in-line views...
    Next, I tried the same 2 queries, but using the CHOOSE hint, since the explain plans above show that it defaults to using the RBO...
    Here are those results:
    (hint + use view)
    890 rows selected.
    Execution Plan
       0      SELECT STATEMENT Optimizer=HINT: CHOOSE (Cost=1840 Card=1071
               Bytes=57834)
       1    0   UNION-ALL
       2    1     TABLE ACCESS (FULL) OF 'PART' (Cost=920 Card=642 Bytes=3
              4668)
       3    1     TABLE ACCESS (FULL) OF 'PART' (Cost=920 Card=429 Bytes=2
              3166)
    Statistics
             14  recursive calls
              8  db block gets
          12371  consistent gets
          10850  physical reads
              0  redo size
          60726  bytes sent via SQL*Net to client
           4441  bytes received via SQL*Net from client
             61  SQL*Net roundtrips to/from client
              2  sorts (memory)
              0  sorts (disk)
            890  rows processed
    timing for: query_timer
    Elapsed: 00:00:02.90(hint + in-line view)
    890 rows selected.
    Execution Plan
       0      SELECT STATEMENT Optimizer=HINT: CHOOSE (Cost=1840 Card=1071
               Bytes=57834)
       1    0   UNION-ALL
       2    1     TABLE ACCESS (FULL) OF 'PART' (Cost=920 Card=642 Bytes=3
              4668)
       3    1     TABLE ACCESS (FULL) OF 'PART' (Cost=920 Card=429 Bytes=2
              3166)
    Statistics
              0  recursive calls
              8  db block gets
          12367  consistent gets
          10850  physical reads
              0  redo size
          60726  bytes sent via SQL*Net to client
           4441  bytes received via SQL*Net from client
             61  SQL*Net roundtrips to/from client
              2  sorts (memory)
              0  sorts (disk)
            890  rows processed
    timing for: query_timer
    Elapsed: 00:00:02.99Obviously, for this simple example, using the CHOOSE hint caused worse performance than letting it default to the RBO (though the explain plans still look the same to me), but what I find interesting is that when I used the hint, the version of the query using the in-line view became at least equivalent to the one using the view, if not worse.
    But, based on these results, I don't know that I can extrapolate to my complex query... or can I? I'm thinking I'm going to have to actually go through and make my views for the complex query and test it out....

  • Same Code in ordinary view and Materialised View is performing differentl

    I am currently working on a Data Warehouse Project hooked off the back of an accounting system. It takes data from an old system and data from a new system and uses both for Corporate Reporting.
    For Historical and Legacy Reporting reasons it is necessary to keep the Transaction Codes in the system at three characters. so anything that occurs that is less than three characters is padded to the left with zero's.
    The line of code that does this is ...
    CAST(LPAD(TRIM(TransactionCode),3,0) AS VARCHAR2(3)) AS TransactionCode
    There are then 2 Views.
    The first is a Materialised View, this contains 21 days worth of data for short term reporting and manipulation. In here this code seems to work perfectly.
    The second is an ordinairy real time View that spans all data available, within here the Transaction Codes are not padded, but remain at their random 1 or 2 digit lengths.
    In both views the field is defined as a VARCHAR2(3)
    This is not a data issue, as the 21 days will fall within the ordinairy view and there are no examples in the ordinary view of this working.
    The only thing that I can think of is if the character that is used for padding in the LPAD statement needs to be in quotes, I will try this, but I dont get why this would work in a Materialised View and not a View.
    Can anyone shed any light on why this might occur ???
    Many Thanks in advance
    Regards
    Craig Golby
    Dignitas Ltd
    http://www.dignitas.ltd.uk

    I am currently working on a Data Warehouse Project hooked off the back of an accounting system. It takes data from an old system and data from a new system and uses both for Corporate Reporting.
    For Historical and Legacy Reporting reasons it is necessary to keep the Transaction Codes in the system at three characters. so anything that occurs that is less than three characters is padded to the left with zero's.
    The line of code that does this is ...
    CAST(LPAD(TRIM(TransactionCode),3,0) AS VARCHAR2(3)) AS TransactionCode
    There are then 2 Views.
    The first is a Materialised View, this contains 21 days worth of data for short term reporting and manipulation. In here this code seems to work perfectly.
    The second is an ordinairy real time View that spans all data available, within here the Transaction Codes are not padded, but remain at their random 1 or 2 digit lengths.
    In both views the field is defined as a VARCHAR2(3)
    This is not a data issue, as the 21 days will fall within the ordinairy view and there are no examples in the ordinary view of this working.
    The only thing that I can think of is if the character that is used for padding in the LPAD statement needs to be in quotes, I will try this, but I dont get why this would work in a Materialised View and not a View.
    Can anyone shed any light on why this might occur ???
    Many Thanks in advance
    Regards
    Craig Golby
    Dignitas Ltd
    http://www.dignitas.ltd.uk

  • Connectivity Problem with WPF Viewer and Oracle based imbedded reports

    I've been using code to modify the Database, Username and Password in imbedded reports for quite a few years.  Whether I was using C++ V6 or C# in VS2008, the process has been basically the same.  Now I am trying to use the WPF Viewer in VS2010 and am getting an "ORA-00942: table or view does not exist" error.  I perform a successful Connectivity Test and receive the error when I'm trying to view the report. 
    If I comment out all of the code that sets the source of the data and performs the connectivity test, the report shows up in the viewer and I'm presented a logon window similar to what I see when i design the RPT file in Crystal Reports. i.e the "Server Name:" shows the name of the Oracle Database I used when I designed the report; the "Database: " is empty; the "Login ID:" displays an edit box and contains the User ID I used when designing the report; and the "Password: " displays an edit box in which I type the password.  Once I click on the OK button, the report is displayed in the WPF viewer.
    Here is the code starting after I have loaded the report into a ReportDocument:
    if(report.IsLoaded)
      CrystalDecisions.Shared.TableLogOnInfo crTableLogonInfo;
      CrystalDecisions.CrystalReports.Engine.Tables crTables = report.Database.Tables;
      foreach(CrystalDecisions.CrystalReports.Engine.Table crTable in crTables)
        crTableLogonInfo = crTable.LogOnInfo;
        crTableLogonInfo.ConnectionInfo.LogonProperties.Clear( );
        crTableLogonInfo.ConnectionInfo.Attributes.Collection.Clear( );
        crTableLogonInfo.ConnectionInfo.DatabaseName = null;
        crTableLogonInfo.ConnectionInfo.ServerName = MyDatabase;
        crTableLogonInfo.ConnectionInfo.UserID = MyUsername;
        crTableLogonInfo.ConnectionInfo.Password = MyPassword;
        crTable.ApplyLogOnInfo(crTableLogonInfo);
      report.SetParameterValue("StartingCPID", "AAAAAA");
      report.SetParameterValue("EndingCPID", "ZZZZZZ");
      if(report.Database.Tables[0].TestConnectivity())
        reportViewer.ViewerCore.ReportSource = report;
        reportViewer.ToggleSidePanel = SAPBusinessObjects.WPF.Viewer.Constants.SidePanelKind.None;
      else
        MessageBox.Show("Unable to Connect to Database in report.");
    Any idea what I'm doing wrong or what is different in this version?

    See if the KB [
    [1448013  - Connecting to Oracle database. Error; Failed to load database information|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433343338333033313333%7D.do] helps.
    Also the following may not hurt to have a look at (if only for ideas):
    [1217021 - Err Msg: "Unable to connect invalid log on parameters" using Oracle in VS .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313337333033323331%7D.do]
    [1471508 - Logon error when connecting to Oracle database in a VS .NET application|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433373331333533303338%7D.do]
    [1196712 - Error: "Failed to load the oci.dll" in ASP.NET application against an Oracle database|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393336333733313332%7D.do]
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • In a document library : group by view and manage metadata filter & Navigation problem

    Hi all, I encounter a problem when configuring a document library using a group by view and in combination with the Managed Metadata filtering and
    navigation :
    - all the documents appear under my group by, even the ones that does not correspond
    - In the other hand, the number in brackets shows the correct number of documents that should be shown
    See screenshot below. 
    Did you already encounter that issue ? Is there a workaround ?

    Hi,
    According to your post, my understanding is that you wanted to use a group by view and combine with the Managed Metadata filtering and navigation in a document library
    to show the corresponding documents with the correct numbers in SharePoint 2013.
    In my SharePoint 2013, I created a view which was group by two columns and combine with the Metadata Navigation Hierarchies and Key Filters some fields in a document
    library. As a result, it showed only items matching the filter values.
    So, I recommend that you can follow the steps to implement it in your environment.
    Step1: Enable Metadata Navigation and Filtering:
    Metadata Navigation and Filtering is a Site Feature that has to be activated for this to work.
    And, the Metadata Navigation and Filtering feature is enabled by default on most sites.
    If it is not enabled for your site, you can enable it on the Site Features pages for your site.
    You must be a Site Owner or a Site Collection Administrator to enable Metadata Navigation and Filtering.
    1. Go to “Site Settings” and click “Manage site features” under Site Actions.
    2. Find “Metadata Navigation and Filtering” in the Features list and click “Activate”.
    Step2:
    Configure Metadata Navigation:
    You must have a least the Manage Lists permission level to configure metadata navigation for a list or library.
    1. Open the document library for which you want to configure metadata navigation.
    2. Go to “Library Settings” of the document library and click “Metadata navigation settings” under “General Settings”.
    3. In the Configure Navigation Hierarchies section, select the field or fields you want to display in the navigation hierarchy and then click “Add”.
    4. By default, Folders are automatically displayed in the navigation hierarchy. If you do not want folders to display, select Folders, and then click Remove.
    5. In the Configure Key Filters section, select the fields you want to add as Key Filters, and then click “Add”.
    6. In the Configure automatic column indexing for this list, specify whether you want to automatically create indices on this list to increase the performance of the
    queries that users will perform when they use the Navigation Hierarchy and Key Filter columns you've specified. It is recommended that you select the option “Automatically manage column indices on this list”.
    7. Click “OK”.
    Step3: Set a group by two columns by modifying view in the document library:
    1. Go to the “LIBRARY” ribbon of the document library and click the “Modify view”.
    2. Click the “Group By” and select up to two columns to determine what type of group and subgroup the items in the view will be displayed in.
    3. Click “OK”.
    Step4:
    Go back to the document library, apply Navigation Hierarchies and Key Filters to do a test in your environment.
    The result will like as below:
    There is an article about how to apply Metadata Navigation Filtering in SharePoint 2013 for your reference.
    http://blogs.interfacett.com/how-to-apply-metadata-navigation-filtering-in-sharepoint-2013
    Best Regards,
    Linda Li
    TechNet Community Support

  • Add a simple switch to PDF Reader to change between MY-VIEW and ORIGINAL-VIEW

    I would like to open pdf file with my same default viewing preference *every single time* that I open a PDF file, regardless of what the original document creator set as the default view.  It would be nice to have a SIMPLE switch between MY-VIEW and ORIGINAL-VIEW.  It's very frustrating to have to keep switching my view preferences every time I open a new file with a different default.

    Thank you Bernd, but that is only part of the solution.  For example, I do set the Page Layout to 1-page-continuous.  MOST of the time it keeps this setting, but some documents either override that setting, or perhaps it reverts back to a default (maybe with version upgrades?).  The other part is that I always want the menu-bar and toolbar to show up.  Some documents hide these when they open.  I realize that I can hit [F8] and/or [F9] to toggle these, but there are additional settings.  I also want to always have the selection tools available, etc.  Bottom Line: I just want a collection of settings that I can call up with a single, simple shortcut or button, so I don't have to perform multiple steps just to get the tool back to my standard configuration whenever something changes it.

  • XQuery - In search of alternatives for "ora:view"

    Instead of the following XQuery statement, what could be alternatives, regarding re-writing the statement, via options like:
    - xmltable
    - xsql
    - xpath
    - table(xmlsequence())
    - etc
    So I am looking for alternative statements and/or an alternative for ora:view
    Thanks for the effort
    Marco
    xquery
    let $auction := ora:view("XMLType_Table") return
    for $b in $auction/site/people/person[@id = "person0"] return $b/name/text()
    /Edited by: Marco Gralike on Oct 19, 2008 3:48 PM

    The file is to big to fit in VARCHAR2, so therefore it was loaded via the bfilename method.
    Content of file X.XML in directory C:\TEMP
    <?xml version="1.0" standalone="yes"?>
    <site>
    <regions>
    <africa>
    <item id="item0">
    <location>United States</location>
    <quantity>1</quantity>
    <name>duteous nine eighteen </name>
    <payment>Creditcard</payment>
    <description>
    <parlist>
    <listitem>
    <text>
    page rous lady idle authority capt professes stabs monster petition heave humbly removes rescue runs shady peace most piteous worser oak assembly holes patience but malice whoreson mirrors master tenants smocks yielded <keyword> officer embrace such fears distinction attires </keyword>
    </text>
    </listitem>
    <listitem>
    <text>
    shepherd noble supposed dotage humble servilius bitch theirs venus dismal wounds gum merely raise red breaks earth god folds closet captain dying reek
    </text>
    </listitem>
    </parlist>
    </description>
    <shipping>Will ship internationally, See description for charges</shipping>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <mailbox>
    <mail>
    <from>Dominic Takano mailto:[email protected]</from>
    <to>Mechthild Renear mailto:[email protected]</to>
    <date>10/12/1999</date>
    <text>
    asses scruple learned crowns preventions half whisper logotype weapons doors factious already pestilent sacks dram atwain girdles deserts flood park lest graves discomfort sinful conceiv therewithal motion stained preventions greatly suit observe sinews enforcement <emph> armed </emph> gold gazing set almost catesby turned servilius cook doublet preventions shrunk
    </text>
    </mail>
    </mailbox>
    </item>
    </africa>
    <asia>
    <item id="item1">
    <location>United States</location>
    <quantity>1</quantity>
    <name>great </name>
    <payment>Money order, Cash</payment>
    <description>
    <text>
    print deceit arming ros apes unjustly oregon spring hamlet containing leaves italian turn <bold> spirit model favour disposition </bold> approach charg gold promotions despair flow assured terror assembly marry concluded author debase get bourn openly gonzago wisest bane continue cries
    </text>
    </description>
    <shipping>Will ship internationally</shipping>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <mailbox>
    <mail>
    <from>Fumitaka Cenzer mailto:[email protected]</from>
    <to>Lanju Takano mailto:[email protected]</to>
    <date>02/24/2000</date>
    <text>
    entreaty hath fowl prescience bounds roof fiend intellect boughs caught add jests feelingly doubt trojans wisdom greatness tune worship doors fields reads canst france pay progeny wisdom stir mov impious promis clothes hangman trebonius choose men fits preparation <keyword> benefit since eclipse gates </keyword>
    </text>
    </mail>
    <mail>
    <from>Papa Godskesen mailto:[email protected]</from>
    <to>Ioana Blumberg mailto:[email protected]</to>
    <date>08/02/2001</date>
    <text>
    jealousy back greg folded gauntlets conduct hardness across sickness peter enough royal herb embrace piteous die servilius avoid <keyword> laying chance dungeons pleasant thyself fellow purse steward heaven ambassador terrible doubtfully </keyword> milk sky clouds unbraced put sacrifices seas childish longer flout heavy pitch rosalind orderly music delivery appease
    </text>
    </mail>
    </mailbox>
    </item>
    </asia>
    <australia>
    <item id="item2">
    <location>United States</location>
    <quantity>1</quantity>
    <name>scarce brook </name>
    <payment></payment>
    <description>
    <parlist>
    <listitem>
    <text>
    senses concave valiant star further instruments bankrupts countrymen horrid costard youth necessity tend curiously waken witness navy there honest interest perceive defendant chief traffic where nuptial descent travel prepare agreed voices swears remember peerless doing <keyword> preparation rejoice </keyword>
    </text>
    </listitem>
    <listitem>
    <text>
    swear canker barbarian parching coxcomb excess conspiring nobles sounded consider sayings fishified prime may spirit <emph> untruths misgives choughs mew here garments tenfold </emph> error discontent hung beatrice straight muse shame deep twice mann maecenas any conveyance fingers whereupon child case <keyword> season presently victory women beating </keyword> deprive almost wed dreams slew reveal
    </text>
    </listitem>
    <listitem>
    <text>
    spotted attend burden camillo field enlarge stead corporal ground tormenting <bold> naturally sanctuary riddle exile coming awake senseless chance famous albans </bold> service cricket limb from clouds amongst shore penker defend quantity dumb churlish uncover swung eros figur sulphur sky birth stare negligent unction shield instance ambition gate injury fort put infants find slavish hugh see afterwards slanders chides eyes minds alb loved endure combating voyage
    </text>
    </listitem>
    <listitem>
    <parlist>
    <listitem>
    <text>
    maintained peril rivall suddenly finds studies weary truth indulgence anatomy assisted imminent may excepted yonder aches regal
    </text>
    </listitem>
    <listitem>
    <text>
    <bold> friar prophetess </bold> spirits delays turning cassio finding unpractis steel sweets promises credulity err nym complete star greatly mope sorry experience virtues been offending bed drives faction learnt hurl eleven huge
    </text>
    </listitem>
    <listitem>
    <text>
    piece hours cruelly april league winged <keyword> tract element sails course placed fouler four plac joint </keyword> words blessing fortified loving forfeit doctor valiant crying wife county planet charge haughty precious alexander longboat bells lewd kingdoms knife giver frantic raz commend sit sovereignty engaged perceive its art alliance forge bestow perforce complete roof fie confident raging possible cassio teen crave park reign lords sounded our requite fourth confidence high
    </text>
    </listitem>
    </parlist>
    </listitem>
    <listitem>
    <parlist>
    <listitem>
    <text>
    sent fled bids oswald help answer artillery jealous hugh fingers gladly mows our craving <emph> preventions spurr edmund drunk how faction quickly bolingbroke painfully </emph> valorous line clasp cheek patchery encompassed honest after auspicious home engaged prompt mortimer bird dread jephthah prithee unfold deeds fifty goose either herald temperance coctus took sought fail each ado checking funeral thinks linger advantage bag ridiculous along accomplishment flower glittering school disguis portia beloved crown sheets garish rather forestall vaults doublet embassy ecstasy crimson rheum befall sin devout pedro little exquisite mote messenger lancaster hideous object arrows smites gently skins bora parting desdemona longing third throng character hat sov quit mounts true house field nearest lucrece tidings fought logotype eaten commanding treason censur ripe praises windsor temperate jealous made sleeve scorn throats fits uncape tended science preventions preventions high pipes reprieves <bold> sold </bold> marriage sampson safety distrust witch christianlike plague doubling visited with bleed offenders catching attendants <emph> cars livery stand </emph> denay <keyword> cimber paper admittance tread character </keyword> battlements seen dun irish throw redeem afflicts suspicion
    </text>
    </listitem>
    <listitem>
    <text>
    traduc barks twenty secure pursuit believing necessities longs mental lack further observancy uncleanly understanding vault athens lucius sleeps nor safety evidence repay whensoever senses proudest restraint love mouths slaves water athenian willingly hot grieves delphos pavilion sword indeed lepidus taking disguised proffer salt before educational streets things osw rey stern lap studies finger doomsday pots bounty famous manhood observe hopes unless languish <keyword> transformed nourish breeds north </keyword>
    </text>
    </listitem>
    </parlist>
    </listitem>
    </parlist>
    </description>
    <shipping>Will ship internationally</shipping>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <mailbox>
    <mail>
    <from>Aspi L'Ecuyer mailto:L'[email protected]</from>
    <to>Lesley Jeris mailto:[email protected]</to>
    <date>10/09/1998</date>
    <text>
    necessities chains rosencrantz house heed course lawn diest unvirtuous supposed sees chough swor numbers game roman soundest wrestler sky lodovico beast shivers desolate norfolk forgot paulina wars george while beggar sheath thursday capable presently his protector father orchard enemies believe drains tokens prison charge cloud stab york mild scene true devotion confidence hundred those guiltless pricks sort himself mutiny officers directive wholesome edge acts dion ride draw brings custom chapless beside sex dowry casca goods priam blasphemy prick octavia brain curer thinkest idiot inward missing conspiracy tents scab inundation caesar officer dramatis
    </text>
    </mail>
    </mailbox>
    </item>
    </australia>
    <europe>
    <item id="item3">
    <location>Uzbekistan</location>
    <quantity>1</quantity>
    <name>abhorr execution beckon rue </name>
    <payment>Money order, Creditcard, Cash</payment>
    <description>
    <parlist>
    <listitem>
    <text>
    <keyword> perjur kills insanie unfortunate conjuration deeper confounded belied first guard </keyword> pale profits height desir ashore france strength kept entrench poisons worth fought ignorance moody poniards speaks jack egg offspring victory food double emperor round jewel abbey apparel untainted lass protest start wings acquit lake lady battles further low thief try brook cake mounted officers dean shrunk lowness dew sandy prologue armies suspicion eighty advance thankfulness albany ended experience halt doubted wert kingdom fiend directed pair perhaps
    </text>
    </listitem>
    <listitem>
    <text>
    prayer odds rend condemn conrade swearing dispos losses boar little from thought different couch respected human robe dictynna later pays edward babe distemper bards damned mayst sustain while self alcibiades listen weak soil <keyword> view presume loggets feed </keyword> afoot yields erection balthasar fathers datchet thankless lear cause evil cheerfully instance tarried because cough ancient testimony tarquin cousin reported porter beastly jade bark sex slack lear devil devoured amiable mason moss shoulders labour meanest feign eggs encount forbid enobarbus halters nam emilia fiends bearing food inheritor wiser <emph> hedge </emph> functions there capital greasy dark crush your sequest between devout thou strikes demand dost reverent conference least told ado modena jealousy nunnery mistrust nightly worthy closes tall proudly fierce receive nearness safer jacks shut dire mates wind unfortunate monsieur parcels sauced extremities throat dog empty treasury etc detested stand taxations edges mourner sue knavery unlook perseus diadem heartily peer tut compounded art reconcile study thought cockatrice money pity intend thing claud edmund throws torments ropes contrive story slain advise lecher ardea relics keeping treads buckingham defences lag neighbour ourself marshal disordered moderate venus afeard article rot hazards craft crowns <emph> plainness patient </emph> lying knowledge diseases meritorious medicine instead lid happy without them bands answer
    </text>
    </listitem>
    </parlist>
    </description>
    <shipping>Will ship only within country</shipping>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <mailbox>
    </mailbox>
    </item>
    </europe>
    <namerica>
    <item id="item4">
    <location>United States</location>
    <quantity>1</quantity>
    <name>unsur brutish </name>
    <payment>Money order, Creditcard</payment>
    <description>
    <parlist>
    <listitem>
    <text>
    prepar likelihood eagle body walk borachio month writing left speed patents coach through protectorship congruent confusion favours following populous garden henceforth shoots function fourscore mangled favorably slain secretly vice distinguish bardolph content hence boy worse bring usurers stew beard longed creep hid pursuivant beholders senators son mercutio woo bestow trumpet excess muffler pick ugly felt causes remove adding tear often rounds underbearing tree purer kibes endless women benefit throw <emph> claim firmness <keyword> arrived sees wrestled multitude repent preventions infamy reproof shalt hearted prais knave doubtless </keyword> deny </emph> merely grave voluble late loath digest horn slave hunger stronger amazed salt killing ross cry dry tongue kiss yields auspicious quietness perpetual ways
    </text>
    </listitem>
    <listitem>
    <text>
    court mean returning brook creatures appointed paunches henry sights west prunes flutes regiment seems bed musicians slumber post friendship prevention abreast wouldst words vexation builds unfelt holly walk inform moods deck bulk begin action school nobles antique people unkennel stomach into petitions jack assail yongrey ages betimes golden sink droop kernel hoppedance perfection weight <emph> whining safe english rod other featur </emph> betwixt orator across amiss mine guests guard yon willing remit longing goneril visitation honey
    </text>
    </listitem>
    </parlist>
    </description>
    <shipping>Will ship only within country, Buyer pays fixed shipping charges, See description for charges</shipping>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <mailbox>
    <mail>
    <from>Honari Castan mailto:[email protected]</from>
    <to>Maz Lucky mailto:[email protected]</to>
    <date>01/24/1998</date>
    <text>
    scene disposition substance prick counsel start temples
    </text>
    </mail>
    </mailbox>
    </item>
    </namerica>
    <samerica>
    <item id="item5">
    <location>United States</location>
    <quantity>1</quantity>
    <name>nakedness </name>
    <payment>Creditcard, Personal Check, Cash</payment>
    <description>
    <text>
    music sift kissing design airy office dismantled hope reconcil combat wert quite translate overcome unthrifty <emph> fell othello <bold> wolf entreat audaciously down sands sports pilgrimage duellist league holiday cheek that tables merrily knot selves ionia impure </bold> prophet draw throwing solemn yonder </emph> rightful foam worthless polack veronesa antony beget thereby carry untread hales
    </text>
    </description>
    <shipping>Will ship only within country, Will ship internationally</shipping>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <mailbox>
    </mailbox>
    </item>
    </samerica>
    </regions>
    <categories>
    <category id="category0">
    <name>dispatch reported dotard holofernes </name>
    <description>
    <parlist>
    <listitem>
    <text>
    shift carrion doubtful strangle sounding crowned troubled naked yesterday overthrow owe silent recount waters derive sans four
    </text>
    </listitem>
    <listitem>
    <parlist>
    <listitem>
    <text>
    fragment pamper arthur thrive wound fouler streets preventions obey vow bawds myrtle said infinite montague fierce sense ride souls commended gainsay profession labour intents persuade alter
    </text>
    </listitem>
    <listitem>
    <text>
    ord villain wore thunder congeal pawned alack customary deny faithful top office spoken please neighbour office afternoon drum embowell touch sue lifeless leapt called weary congregation yield
    </text>
    </listitem>
    <listitem>
    <text>
    mental fatal hard ancient stands cor dishes therein gramercy discipline farewell dire tricks protest cut horatio brother speech sleeping adultress pitch cave liv nurse drink state plants combating desired requir rebellion afraid repented tree scald stopp wine advise undermine norfolk vilely whet scars companions hanging foolish scene musty fruitful unburthen teacher garments betimes sight now for oaths vouchsafe particulars globe laertes afflictions rouse once news humanity buck destroy military lucius lap <keyword> considered forc mourning verona </keyword> waters triumphing officer hastily <emph> resign subject figure hay thwart written signs gout bred distance period glove players change folly </emph> going wat lost song hautboys pick business crocodile leading cave twice frenzy sprightly dislike invite forbids morn devour ambassador seldom speak tickling rejoice triumphant ascanius forward
    </text>
    </listitem>
    </parlist>
    </listitem>
    </parlist>
    </description>
    </category>
    </categories>
    <catgraph>
    <edge from="category0" to="category0"/>
    </catgraph>
    <people>
    <person id="person0">
    <name>Jaak Tempesti</name>
    <emailaddress>mailto:[email protected]</emailaddress>
    <phone>+0 (873) 14873867</phone>
    <homepage>http://www.labs.com/~Tempesti</homepage>
    <creditcard>5048 5813 2703 8253</creditcard>
    <watches>
    <watch open_auction="open_auction0"/>
    </watches>
    </person>
    </people>
    <open_auctions>
    <open_auction id="open_auction0">
    <initial>13.56</initial>
    <reserve>33.78</reserve>
    <bidder>
    <date>10/22/2001</date>
    <time>10:21:43</time>
    <personref person="person0"/>
    <increase>55.50</increase>
    </bidder>
    <bidder>
    <date>07/27/2001</date>
    <time>12:36:50</time>
    <personref person="person0"/>
    <increase>19.50</increase>
    </bidder>
    <bidder>
    <date>02/14/2000</date>
    <time>16:40:16</time>
    <personref person="person0"/>
    <increase>19.50</increase>
    </bidder>
    <bidder>
    <date>05/09/2001</date>
    <time>11:39:57</time>
    <personref person="person0"/>
    <increase>30.00</increase>
    </bidder>
    <bidder>
    <date>07/12/1999</date>
    <time>23:20:27</time>
    <personref person="person0"/>
    <increase>13.50</increase>
    </bidder>
    <bidder>
    <date>10/21/2001</date>
    <time>01:19:47</time>
    <personref person="person0"/>
    <increase>3.00</increase>
    </bidder>
    <bidder>
    <date>09/28/2001</date>
    <time>17:03:24</time>
    <personref person="person0"/>
    <increase>6.00</increase>
    </bidder>
    <bidder>
    <date>11/15/1999</date>
    <time>14:23:15</time>
    <personref person="person0"/>
    <increase>9.00</increase>
    </bidder>
    <bidder>
    <date>01/02/1998</date>
    <time>22:18:07</time>
    <personref person="person0"/>
    <increase>1.50</increase>
    </bidder>
    <bidder>
    <date>12/24/2001</date>
    <time>16:46:32</time>
    <personref person="person0"/>
    <increase>13.50</increase>
    </bidder>
    <bidder>
    <date>08/12/2000</date>
    <time>11:41:54</time>
    <personref person="person0"/>
    <increase>3.00</increase>
    </bidder>
    <bidder>
    <date>11/15/2000</date>
    <time>15:53:40</time>
    <personref person="person0"/>
    <increase>6.00</increase>
    </bidder>
    <bidder>
    <date>03/04/2000</date>
    <time>20:46:15</time>
    <personref person="person0"/>
    <increase>16.50</increase>
    </bidder>
    <bidder>
    <date>07/22/1998</date>
    <time>10:34:11</time>
    <personref person="person0"/>
    <increase>25.50</increase>
    </bidder>
    <bidder>
    <date>04/01/1998</date>
    <time>10:44:22</time>
    <personref person="person0"/>
    <increase>7.50</increase>
    </bidder>
    <current>243.06</current>
    <itemref item="item0"/>
    <seller person="person0"/>
    <annotation>
    <author person="person0"/>
    <description>
    <text>
    debauch corpse canons domain night forsake yea satisfy between fume were monsters ear players moreover ungentleness sorrows prouder tonight favours rome bastard unshown excellence journey loves swearing proceeds stone buck battle breathless kindness prophesy entomb urging rogues hector conquer provoke nothing raw wight places needy feasted romeo rivers worser occupation brook stoops brooch plucks level samp tent windsor rubs whereof beam signior built suff heavy dull husbands roman favour urge spear gone wolf cheeks execute resolv such horrid drives provide twice spoke trade friar taking pheasant sentenc scarf corrections brothers charge spur ass agamemnon truepenny saves roots practis impatient diest didest starv seeing beneath interpose gods home black forgot snuff dress dozen napkins <emph> countess northumberland headlong needless angry pleading </emph> better joy <emph> meagre </emph> reap enquire crab wales died violent rear past liberty <emph> braggart armour infer bankrupt winds teeth </emph> case wore pouch crows cognition <keyword> reports expedition free chief cressida hearsed </keyword> loath monuments silent congregation soon farm doct ross susan ready empty dedicate shilling whole soul foot beseech higher lifeless hay postmaster distress disposition <bold> inherits </bold> marcus betters pitch betray beam corse player quality ros conduct thersites greediness boast pilgrims startles contented belch hung thus captain early blood par brook jul gain needs above ensign grapes revelling glean thank
    </text>
    </description>
    <happiness>6</happiness>
    </annotation>
    <quantity>1</quantity>
    <type>Regular</type>
    <interval>
    <start>06/16/1999</start>
    <end>05/12/2001</end>
    </interval>
    </open_auction>
    </open_auctions>
    <closed_auctions>
    <closed_auction>
    <seller person="person0"/>
    <buyer person="person0"/>
    <itemref item="item1"/>
    <price>113.87</price>
    <date>06/06/2000</date>
    <quantity>1</quantity>
    <type>Regular</type>
    <annotation>
    <author person="person0"/>
    <description>
    <parlist>
    <listitem>
    <parlist>
    <listitem>
    <text>
    farewells religion fetch bells rage names valued exeunt soul albans ungently advised serving ratcliff braggarts knowest desp sheep died repeat toy corrupted michael help dunghill trembles pill reap office early secure desires hated garland carriage impatient deserts feel challenger evil <bold> editions depart laur hereford richer </bold>
    </text>
    </listitem>
    <listitem>
    <text>
    proudest lust approve rey should spectacles fiery perfect worshipp foul quod yes remorse young tyburn thrust attending spear shun doctor wild
    </text>
    </listitem>
    </parlist>
    </listitem>
    <listitem>
    <text>
    throng grandam awak helpless ventidius tread defeat teem durst wonderful attaint chaste sees fulfill mortality arme expedient attendants themselves performed leading sing villain skill store mischief see consciences sail text speed sons spleen die oft girl atomies commodity honor fall stopp they
    </text>
    </listitem>
    <listitem>
    <text>
    rain pays spilling rancour reasons grieves camp bachelor crow can whom soldiers growth invite less for vaughan properties <keyword> record penury herself reasons merits villainous whereupon wrote penny mar </keyword> preventions followed best eternity bestow blots rocks barnardine torn cassio tailor fame forfeit triumphant conceived deem cowardly merciful topgallant flint purgation whosoever ventidius befits forever bankrupt choughs stains certain violated burgundy shadows possesseth men repent predominant burns revelry swore prodigious next tyrant oath noses apart balth trade feasting field importunity expect experience kingly stay babe hopes liege astonished suspicion unmannerd alexander crown soil committed god stately incensed trance oracle slowness fast princes damned corn grandsire change tender end fields slain palm softly samp shore notion herod messengers horseman <bold> riggish </bold> quirks shut thence beware jewels sland preventions has sells assails influences oppression pow maggot caught methought mechanical durst liker not seat <emph> assigns flesh made his third <keyword> seemeth </keyword> peril gain they stroke forsworn scape full determin professes commons </emph> lordship clear operation practice pyrrhus earnest broke devil posterity company text misbegotten oregon strike saw arthur earnestly brow popilius ugly serves presentation commandment metal comparing thereon true secretly gallows preventions horridly slack lieutenant hers stop clown rosalinde wed pretty wildly
    </text>
    </listitem>
    </parlist>
    </description>
    <happiness>9</happiness>
    </annotation>
    </closed_auction>
    <closed_auction>
    <seller person="person0"/>
    <buyer person="person0"/>
    <itemref item="item2"/>
    <price>96.92</price>
    <date>12/05/2001</date>
    <quantity>1</quantity>
    <type>Featured</type>
    <annotation>
    <author person="person0"/>
    <description>
    <text>
    hitherto queen painted seat fords clay recall countryman divided delicate mocking active bills filth pledge surrender madness sufficiency moved converse goot claw show edmundsbury torment tough fish mediators tarquin pyrrhus <keyword> heathen </keyword>
    </text>
    </description>
    <happiness>6</happiness>
    </annotation>
    </closed_auction>
    <closed_auction>
    <seller person="person0"/>
    <buyer person="person0"/>
    <itemref item="item3"/>
    <price>53.85</price>
    <date>05/11/1999</date>
    <quantity>1</quantity>
    <type>Featured</type>
    <annotation>
    <author person="person0"/>
    <description>
    <text>
    strives occasion question sticks shall ingenious sinews liquid ashy gentlewomen authority assay hole selves living near doting modest wiltshire mocker eton profess forgeries butt wade lawful maccabaeus wert forced succeeding becomes wayward got
    </text>
    </description>
    <happiness>6</happiness>
    </annotation>
    </closed_auction>
    <closed_auction>
    <seller person="person0"/>
    <buyer person="person0"/>
    <itemref item="item4"/>
    <price>123.52</price>
    <date>02/11/1999</date>
    <quantity>1</quantity>
    <type>Regular</type>
    <annotation>
    <author person="person0"/>
    <description>
    <text>
    vowed keys imperial were swinstead forsake cat aliena spies crave requite forfeit doctor <emph> possess </emph> aught demand ceremonies obscure engross hero restraint bolingbroke neighbour crimes dominions common turns conduct wav therewithal abandon yet hunger
    </text>
    </description>
    <happiness>5</happiness>
    </annotation>
    </closed_auction>
    <closed_auction>
    <seller person="person0"/>
    <buyer person="person0"/>
    <itemref item="item5"/>
    <price>96.06</price>
    <date>04/24/1999</date>
    <quantity>2</quantity>
    <type>Featured</type>
    <annotation>
    <author person="person0"/>
    <description>
    <text>
    jove superiors prolong which conspirator crowns fellowship indisposition skins filthy divers fault apparell worthiness supposition parchment restitution rings rages remains lass dependent pelican contrive paradoxes unmask desdemona weak pleases shame wisely cheek poison avoid ulysses exeunt answer smoothing punishment much anointed bloody shook here armado supply four digestion unresisted consummate glou ding figure made unwrung worst repute envious meanest read nan stake shriek tower nights armed drinking instant scruple citizens rightful nonino shame hills dismal other fasting attends judge aspire hand putting repeal grounds bestrid commission crave mess tarries sport view freely lame done intend cast shun kills presented body landed question hem same burdens plenty esteem weak sigh sunday body preventions revenge horses cleomenes thrust what albeit foolishly mirror gently mock allow index evils should consider deeds suit damsons willoughby thousand number morn banish barricado unfolding perhaps gently stalk degree oblivion wars monsieur companies swords shifted clay strives frozen jour <emph> ajax states mark parcels advertised utterly virtue flatter sleeping ope </emph> lucilius tybalt glow killed account obdurate kindly <bold> heart light bosom garden cog yet daughters tott </bold> lifted offer
    </text>
    </description>
    <happiness>4</happiness>
    </annotation>
    </closed_auction>
    </closed_auctions>
    </site>

  • How to connect to Oracle Database table using xquery (using 'ora:view')

    Hi,
    I am new to this forum and JDeveloper, but I am trying to use xquery accessing an Oracle database, but I can't seem to get it working, nor can I find what I am doing wrong.
    The xquery statement I (try to) use is:
    for $x in ora:view("TOU_TEST")
    return $x/txt
    (In which "TOU_TEST" is the table with column 'txt')
    But I get this "Dutch" error message:
    Er moet een JDBC-standaardverbinding beschikbaar zijn voor de functie 'ora:view'.
    (basically giving an error message about the default JDBC connection).
    I've searched a lot (Technet, Google, JDeveloper Help), but can't find out what I am doing wrong.
    Could you tell me what I am doing wrong/ how to solve this?
    Thanks a lot.
    Greetings,
    Tom

    Hi Friend,
    Try this.
    "Declaration.
    data : begin of zemployee.
               Include structure zeployee542.
    data : end of zemployee.
    *in screen give field name as <zemployee-Fieldname>
    case 'OK_CODE'.
    WHEN 'SAVE'.
          perform fill_data.
    ENDCASE.
    form FILL_DATA .
    move-corresponding zemployee  to  zeployee542.
    insert zeployee542.
    clear : zemployee, zeployee542.
    endform. " FILL_DATA
    Reward if you find usefull

  • Ora-12547 and ora-12560 Great Problem

    Hello. Sorry for my english.
    I've a great problem.
    My server hp with 4 processor and 8 gb memory and oracle 9.2.0.6 and linux Red Hat Advanced Server have one great problem. If the connected user are 70 or more , I can't connect from the client with sqlplus name/password@service_name, but I can connect from the server with sqlplus name/password. sqlplus give me ora-12547 and if I launch sqlplus and after write user and password it give me ora-12560
    If the session are 69 or less I can connect from the client and I can connect from the server.
    The main applicatio work becaus it call oracle directly from server, but when the users are more then 70 I can't use odbc or Enterprise Manager Console from the client.
    Any ideas ? Thank you.
    Luca

    MY INIT.ORA
    # $Header: init.ora 06-aug-98.10:24:40 atsukerm Exp $
    # Copyright (c) 1991, 1997, 1998 by Oracle Corporation
    # NAME
    # init.ora
    # FUNCTION
    # NOTES
    # MODIFIED
    # atsukerm 08/06/98 - fix for 8.1.
    # hpiao 06/05/97 - fix for 803
    # glavash 05/12/97 - add oracle_trace_enable comment
    # hpiao 04/22/97 - remove ifile=, events=, etc.
    # alingelb 09/19/94 - remove vms-specific stuff
    # dpawson 07/07/93 - add more comments regarded archive start
    # maporter 10/29/92 - Add vms_sga_use_gblpagfile=TRUE
    # jloaiza 03/07/92 - change ALPHA to BETA
    # danderso 02/26/92 - change db_block_cache_protect to dbblock_cache_p
    # ghallmar 02/03/92 - db_directory -> db_domain
    # maporter 01/12/92 - merge changes from branch 1.8.308.1
    # maporter 12/21/91 - bug 76493: Add control_files parameter
    # wbridge 12/03/91 - use of %c in archive format is discouraged
    # ghallmar 12/02/91 - add global_names=true, db_directory=us.acme.com
    # thayes 11/27/91 - Change default for cache_clone
    # jloaiza 08/13/91 - merge changes from branch 1.7.100.1
    # jloaiza 07/31/91 - add debug stuff
    # rlim 04/29/91 - removal of char_is_varchar2
    # Bridge 03/12/91 - log_allocation no longer exists
    # Wijaya 02/05/91 - remove obsolete parameters
    # Example INIT.ORA file
    # This file is provided by Oracle Corporation to help you customize
    # your RDBMS installation for your site. Important system parameters
    # are discussed, and example settings given.
    # Some parameter settings are generic to any size installation.
    # For parameters that require different values in different size
    # installations, three scenarios have been provided: SMALL, MEDIUM
    # and LARGE. Any parameter that needs to be tuned according to
    # installation size will have three settings, each one commented
    # according to installation size.
    # Use the following table to approximate the SGA size needed for the
    # three scenarious provided in this file:
    # -------Installation/Database Size------
    # SMALL MEDIUM LARGE
    # Block 2K 4500K 6800K 17000K
    # Size 4K 5500K 8800K 21000K
    # To set up a database that multiple instances will be using, place
    # all instance-specific parameters in one file, and then have all
    # of these files point to a master file using the IFILE command.
    # This way, when you change a public
    # parameter, it will automatically change on all instances. This is
    # necessary, since all instances must run with the same value for many
    # parameters. For example, if you choose to use private rollback segments,
    # these must be specified in different files, but since all gc_*
    # parameters must be the same on all instances, they should be in one file.
    # INSTRUCTIONS: Edit this file and the other INIT files it calls for
    # your site, either by using the values provided here or by providing
    # your own. Then place an IFILE= line into each instance-specific
    # INIT file that points at this file.
    # NOTE: Parameter values suggested in this file are based on conservative
    # estimates for computer memory availability. You should adjust values upward
    # for modern machines.
    # You may also consider using Database Configuration Assistant tool (DBCA)
    # to create INIT file and to size your initial set of tablespaces based
    # on the user input.
    # replace DEFAULT with your database name
    db_name=DEFAULT
    db_files = 80 # SMALL
    # db_files = 400 # MEDIUM
    # db_files = 1500 # LARGE
    db_file_multiblock_read_count = 8 # SMALL
    # db_file_multiblock_read_count = 16 # MEDIUM
    # db_file_multiblock_read_count = 32 # LARGE
    db_block_buffers = 100 # SMALL
    # db_block_buffers = 550 # MEDIUM
    # db_block_buffers = 3200 # LARGE
    shared_pool_size = 3500000 # SMALL
    # shared_pool_size = 5000000 # MEDIUM
    # shared_pool_size = 9000000 # LARGE
    log_checkpoint_interval = 10000
    processes = 50 # SMALL
    # processes = 100 # MEDIUM
    # processes = 200 # LARGE
    parallel_max_servers = 5 # SMALL
    # parallel_max_servers = 4 x (number of CPUs) # MEDIUM
    # parallel_max_servers = 4 x (number of CPUs) # LARGE
    log_buffer = 32768 # SMALL
    # log_buffer = 32768 # MEDIUM
    # log_buffer = 163840 # LARGE
    # audit_trail = true # if you want auditing
    # timed_statistics = true # if you want timed statistics
    max_dump_file_size = 10240 # limit trace file size to 5 Meg each
    # Uncommenting the line below will cause automatic archiving if archiving has
    # been enabled using ALTER DATABASE ARCHIVELOG.
    # log_archive_start = true
    # log_archive_dest = disk$rdbms:[oracle.archive]
    # log_archive_format = "T%TS%S.ARC"
    # If using private rollback segments, place lines of the following
    # form in each of your instance-specific init.ora files:
    # rollback_segments = (name1, name2)
    # If using public rollback segments, define how many
    # rollback segments each instance will pick up, using the formula
    # # of rollback segments = transactions / transactions_per_rollback_segment
    # In this example each instance will grab 40/5 = 8:
    # transactions = 40
    # transactions_per_rollback_segment = 5
    # Global Naming -- enforce that a dblink has same name as the db it connects to
    global_names = TRUE
    # Edit and uncomment the following line to provide the suffix that will be
    # appended to the db_name parameter (separated with a dot) and stored as the
    # global database name when a database is created. If your site uses
    # Internet Domain names for e-mail, then the part of your e-mail address after
    # the '@' is a good candidate for this parameter value.
    # db_domain = us.acme.com # global database name is db_name.db_domain
    # FOR DEVELOPMENT ONLY, ALWAYS TRY TO USE SYSTEM BACKING STORE
    # vms_sga_use_gblpagfil = TRUE
    # FOR BETA RELEASE ONLY. Enable debugging modes. Note that these can
    # adversely affect performance. On some non-VMS ports the db_block_cache_*
    # debugging modes have a severe effect on performance.
    #_db_block_cache_protect = true # memory protect buffers
    #event = "10210 trace name context forever, level 2" # data block checking
    #event = "10211 trace name context forever, level 2" # index block checking
    #event = "10235 trace name context forever, level 1" # memory heap checking
    #event = "10049 trace name context forever, level 2" # memory protect cursors
    # define parallel server (multi-instance) parameters
    #ifile = ora_system:initps.ora
    # define two control files by default
    control_files = (ora_control1, ora_control2)
    # Uncomment the following line if you wish to enable the Oracle Trace product
    # to trace server activity. This enables scheduling of server collections
    # from the Oracle Enterprise Manager Console.
    # Also, if the oracle_trace_collection_name parameter is non-null,
    # every session will write to the named collection, as well as enabling you
    # to schedule future collections from the console.
    # oracle_trace_enable = TRUE
    # Uncomment the following line, if you want to use some of the new 8.1
    # features. Please remember that using them may require some downgrade
    # actions if you later decide to move back to 8.0.
    #compatible = 8.1.0

Maybe you are looking for