Help for loading of XML File into Oracle 10.2 DB.

Hello People,
I need help with below XML File, I need to get it loaded into Oracle 10.2.After brainstorming I could have figured out 2 best ways to do so :
1.Through ctrl file and log file using SQL Loader
2.Using XQuery and XML datatype.
Tried with option 1 but dint succeed.Could you please help me out with a solution of the same ??
<?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>
- <sta:entity-data xmlns:sta="http://www.vendavo.com/omi/StandardDeal" xsi:schemaLocation="http://www.vendavo.com/omi/StandardDeal StandardDeal-ImportAgreement 100912 - Updated.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <StandardDeal>
<IsImported>true</IsImported>
<ModelNReferenceID>00144105-009-000</ModelNReferenceID>
<DealName>00144105-009-000CV Magellan Arteriocyte Inc 1164385</DealName>
<AccountGroup>SoldTo</AccountGroup>
<CustomerSalesData.VCustomer.VName>0001164385</CustomerSalesData.VCustomer.VName>
<DistrictManager />
<MultipleSalesReps>false</MultipleSalesReps>
<OnBehalfOf>Brian Smith</OnBehalfOf>
<FOBDestination>false</FOBDestination>
<ConsultingGroupInformation />
<AgreementStartDate>11/15/2007</AgreementStartDate>
<AgreementEndDate>12/31/2013</AgreementEndDate>
<BaselineReviewDate>01/10/2013</BaselineReviewDate>
<BaseLineReviewPeriod>Quarterly</BaseLineReviewPeriod>
<RequestedDate>10/12/2012</RequestedDate>
<RFPDueDate>10/12/2012</RFPDueDate>
<WaiveFreight>false</WaiveFreight>
- <HeaderDiscountPercentageoffALP>
- <VPercentage documentId="1">
<Amount>0</Amount>
</VPercentage>
</HeaderDiscountPercentageoffALP>
<CustomerCommitmentType>Others</CustomerCommitmentType>
<ManualApproval>true</ManualApproval>
<LegalReviewRequired>false</LegalReviewRequired>
<TechnologyClause>false</TechnologyClause>
<ComplianceTracking>false</ComplianceTracking>
<ComplianceStatus>false</ComplianceStatus>
<VState.VLabel>draft</VState.VLabel>
<Eval>false</Eval>
<CustomerAccepted>true</CustomerAccepted>
<VNotes>CV Magellan Arteriocyte Inc 1164385</VNotes>
- <VItems>
- <StandardDealLineItem documentId="5235485">
<IsImported>true</IsImported>
<VCatalogEntity.VName>MAG100</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235486">
<IsImported>true</IsImported>
<VCatalogEntity.VName>MAG100</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>19</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>05/31/2009</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235487">
<IsImported>true</IsImported>
<VCatalogEntity.VName>MAG100</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>74</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>12/31/2013</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235489">
<IsImported>true</IsImported>
<VCatalogEntity.VName>MAG200</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235490">
<IsImported>true</IsImported>
<VCatalogEntity.VName>MAG200</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>19</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>05/31/2009</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235491">
<IsImported>true</IsImported>
<VCatalogEntity.VName>MAG200</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>74</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>12/31/2013</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235493">
<IsImported>true</IsImported>
<VCatalogEntity.VName>RMAG100</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235494">
<IsImported>true</IsImported>
<VCatalogEntity.VName>RMAG100</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>74</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>12/31/2013</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235495">
<IsImported>true</IsImported>
<VCatalogEntity.VName>RMAG100</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>19</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>05/31/2009</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235497">
<IsImported>true</IsImported>
<VCatalogEntity.VName>309604</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235498">
<IsImported>true</IsImported>
<VCatalogEntity.VName>309604</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>74</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>12/31/2013</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235499">
<IsImported>true</IsImported>
<VCatalogEntity.VName>309604</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>19</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>05/31/2009</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235501">
<IsImported>true</IsImported>
<VCatalogEntity.VName>309653</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235502">
<IsImported>true</IsImported>
<VCatalogEntity.VName>309653</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>74</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>12/31/2013</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235503">
<IsImported>true</IsImported>
<VCatalogEntity.VName>309653</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>19</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>05/31/2009</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235505">
<IsImported>true</IsImported>
<VCatalogEntity.VName>BOS350</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235506">
<IsImported>true</IsImported>
<VCatalogEntity.VName>BOS350</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>19</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>05/31/2009</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
- <StandardDealLineItem documentId="5235655">
<IsImported>true</IsImported>
<VCatalogEntity.VName>AMS300</VCatalogEntity.VName>
<PricingCPG>Magellan</PricingCPG>
- <ExpectedAnnualQuantity>
- <VQuantity>
<VAmount>1</VAmount>
<VUOM>EA</VUOM>
</VQuantity>
</ExpectedAnnualQuantity>
<EffectiveFrom>11/15/2007</EffectiveFrom>
<DurationMonths>74</DurationMonths>
<PercentageBase>false</PercentageBase>
<DiscountALP>N/A</DiscountALP>
- <DiscountPercentage>
- <VPercentage documentId="2">
<Amount />
</VPercentage>
</DiscountPercentage>
<ProposedAgreementPrice />
- <CustomerRequestedPrice>
- <VMoney documentId="4">
<Amount />
</VMoney>
</CustomerRequestedPrice>
<Monthly>No</Monthly>
<PpaNoCap>N/A</PpaNoCap>
- <ProjectedMarketShare>
- <VPercentage documentId="5">
<Amount>0</Amount>
</VPercentage>
</ProjectedMarketShare>
<CustomerCommitted>Yes</CustomerCommitted>
<VValidity.from>11/15/2007</VValidity.from>
<VValidity.to>12/31/2013</VValidity.to>
<VState.VName>draft</VState.VName>
</StandardDealLineItem>
</VItems>
</StandardDeal>
</sta:entity-data>
Regards,
Ekta

1.Through ctrl file and log file using SQL LoaderPlease clarify :
Do you want to load the entire file into a single column (XMLType or CLOB), or do you want to extract XML data and store it into different relational columns?
Please also edit your first post and use tags to enclose the XML source, and do not copy/paste directly from your browser, use "view source" feature so that the content doesn't retain navigation characters (+/-).
Edited by: odie_63 on 11 nov. 2012 13:20                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Performance problems loading an XML file into oracle database

    Hello ODI Guru's,
    I am trying to load and XML file into the database after doing simple business validations. But the interface takes hours to complete.
    1. The XML files are large in size >200 Mb. We have an XSD file for the schema definition instead of a DTD.
    2. We used the external database feature for loading these files in database.
    The following configuration was used in the XML Data Server:
    jdbc:snps:xml?f=D:\CustomerMasterData1\CustomerMasterInitialLoad1.xml&d=D:\CustomerMasterData1\CustomerMasterInitialLoad1.xsd&re=initialLoad&s=CM&db_props=oracle&ro=true
    3. Now we reverse engineer the XML files and created models using ODI Designer
    4. Similar thing was done for the target i.e. an Oracle database table as well.
    5. Next we created a simple interface with one-to-one mapping from the XSD schema to the Oracle database table and executed the interface. This execution takes more than one hour to complete.
    6. We are running ODI client on Windows XP Professional SP2.
    7. The Oracle database server(Oracle 10g 10.2.0.3) for the target schema as well as the ODI master and work repositories are on the same machine.
    8. I tried changing the following properties but it is not making much visible difference:
    use_prepared_statements=Y
    use_batch_update=Y
    batch_update_size=510
    commit_periodically=Y
    num_inserts_before_commit=30000
    I have another problem that when I set batch_update_size to value greater that 510 I get the following error:
    java.sql.SQLException: class org.xml.sax.SAXException
    class java.lang.ArrayIndexOutOfBoundsException said -32413
    at com.sunopsis.jdbc.driver.xml.v.a(v.java)
    The main concern is why should the interface taking so long to execute.
    Please send suggestions to resolve the problem.
    Thanks in advance,
    Best Regards,
    Nikunj

    Approximately how many rows are you trying to insert?
    One of the techniques which I found improved performance for this scenario was to extract from the xml to a flat file, then to use SQL*LOADER or external tables to load the data into Oracle.

  • Load XML file into oracle xml buffer

    Hi guys,
    I'm a starter in Oracle XML Development, I wander how I can load a xml file into oracle xml buffer(xmlctx* document) through programming with c++ in visual studio.
    When I use orastream structure, it compiled failed.
    Thank you very much!
    Edited by: pomelo on 2010-11-15 下午5:39

    try this
    LOAD DATA
    INFILE '/home/oraread/'
    INTO TABLE xmlloadtable
    (id,
    file_name          filler,
    data_xml          lobfile(file_name) terminated by eof
    )you can add the file_name field as a column to your table between the id and xml column and remove the filler word in the .ldr file if you need to keep the name of the file

  • Load XML file into oracle database

    Hi
    i have a xml file and the XSD(Schema definition file for XML). i need to load the xml file into the database.
    Can you please tell me the best approach for this ?

    There are plenty of examples of this on the XML DB Forum.
    Here is a link to the FAQ for that forum...
    XML DB FAQ

  • Loading XML File into Oracle 10G XE

    I am trying to load an XML file into 10G XE from the Utilities interface, I have created a Table to load into but when I try to load I get the following cryptic error "XML Load Error". There is no other information, can someone give me some insight where to start to resolve this problem?

    The error messages when importing fails provided by APEX 2.1 are not very useful as they do not provide any clue...
    If possible, you can try to load XML file with SQL*Loader - probably you will get then more useful error messages.

  • How to load a XML file into a table

    Hi,
    I've been working on Oracle for many years but for the first time I was asked to load a XML file into a table.
    As an example, I've found this on the web, but it doesn't work
    Can someone tell me why? I hoped this example could help me.
    the file acct.xml is this:
    <?xml version="1.0"?>
    <ACCOUNT_HEADER_ACK>
    <HEADER>
    <STATUS_CODE>100</STATUS_CODE>
    <STATUS_REMARKS>check</STATUS_REMARKS>
    </HEADER>
    <DETAILS>
    <DETAIL>
    <SEGMENT_NUMBER>2</SEGMENT_NUMBER>
    <REMARKS>rp polytechnic</REMARKS>
    </DETAIL>
    <DETAIL>
    <SEGMENT_NUMBER>3</SEGMENT_NUMBER>
    <REMARKS>rp polytechnic administration</REMARKS>
    </DETAIL>
    <DETAIL>
    <SEGMENT_NUMBER>4</SEGMENT_NUMBER>
    <REMARKS>rp polytechnic finance</REMARKS>
    </DETAIL>
    <DETAIL>
    <SEGMENT_NUMBER>5</SEGMENT_NUMBER>
    <REMARKS>rp polytechnic logistics</REMARKS>
    </DETAIL>
    </DETAILS>
    <HEADER>
    <STATUS_CODE>500</STATUS_CODE>
    <STATUS_REMARKS>process exception</STATUS_REMARKS>
    </HEADER>
    <DETAILS>
    <DETAIL>
    <SEGMENT_NUMBER>20</SEGMENT_NUMBER>
    <REMARKS> base polytechnic</REMARKS>
    </DETAIL>
    <DETAIL>
    <SEGMENT_NUMBER>30</SEGMENT_NUMBER>
    </DETAIL>
    <DETAIL>
    <SEGMENT_NUMBER>40</SEGMENT_NUMBER>
    <REMARKS> base polytechnic finance</REMARKS>
    </DETAIL>
    <DETAIL>
    <SEGMENT_NUMBER>50</SEGMENT_NUMBER>
    <REMARKS> base polytechnic logistics</REMARKS>
    </DETAIL>
    </DETAILS>
    </ACCOUNT_HEADER_ACK>
    For the two tags HEADER and DETAILS I have the table:
    create table xxrp_acct_details(
    status_code number,
    status_remarks varchar2(100),
    segment_number number,
    remarks varchar2(100)
    before I've created a
    create directory test_dir as 'c:\esterno'; -- where I have my acct.xml
    and after, can you give me a script for loading data by using XMLTABLE?
    I've tried this but it doesn't work:
    DECLARE
    acct_doc xmltype := xmltype( bfilename('TEST_DIR','acct.xml'), nls_charset_id('AL32UTF8') );
    BEGIN
    insert into xxrp_acct_details (status_code, status_remarks, segment_number, remarks)
    select x1.status_code,
            x1.status_remarks,
            x2.segment_number,
            x2.remarks
    from xmltable(
      '/ACCOUNT_HEADER_ACK/HEADER'
      passing acct_doc
      columns header_no      for ordinality,
              status_code    number        path 'STATUS_CODE',
              status_remarks varchar2(100) path 'STATUS_REMARKS'
    ) x1,
    xmltable(
      '$d/ACCOUNT_HEADER_ACK/DETAILS[$hn]/DETAIL'
      passing acct_doc as "d",
              x1.header_no as "hn"
      columns segment_number number        path 'SEGMENT_NUMBER',
              remarks        varchar2(100) path 'REMARKS'
    ) x2
    END;
    This should allow me to get something like this:
    select * from xxrp_acct_details;
    Statuscode status remarks segement remarks
    100 check 2 rp polytechnic
    100 check 3 rp polytechnic administration
    100 check 4 rp polytechnic finance
    100 check 5 rp polytechnic logistics
    500 process exception 20 base polytechnic
    500 process exception 30
    500 process exception 40 base polytechnic finance
    500 process exception 50 base polytechnic logistics
    but I get:
    Error report:
    ORA-06550: line 19, column 11:
    PL/SQL: ORA-00932: inconsistent datatypes: expected - got NUMBER
    ORA-06550: line 4, column 2:
    PL/SQL: SQL Statement ignored
    06550. 00000 -  "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    and if I try to change the script without using the column HEADER_NO to keep track of the header rank inside the document:
    DECLARE
    acct_doc xmltype := xmltype( bfilename('TEST_DIR','acct.xml'), nls_charset_id('AL32UTF8') );
    BEGIN
    insert into xxrp_acct_details (status_code, status_remarks, segment_number, remarks)
    select x1.status_code,
            x1.status_remarks,
            x2.segment_number,
            x2.remarks
    from xmltable(
      '/ACCOUNT_HEADER_ACK/HEADER'
      passing acct_doc
      columns status_code    number        path 'STATUS_CODE',
              status_remarks varchar2(100) path 'STATUS_REMARKS'
    ) x1,
    xmltable(
      '/ACCOUNT_HEADER_ACK/DETAILS'
      passing acct_doc
      columns segment_number number        path 'SEGMENT_NUMBER',
              remarks        varchar2(100) path 'REMARKS'
    ) x2
    END;
    I get this message:
    Error report:
    ORA-19114: error during parsing the XQuery expression: 
    ORA-06550: line 1, column 13:
    PLS-00201: identifier 'SYS.DBMS_XQUERYINT' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    ORA-06512: at line 4
    19114. 00000 -  "error during parsing the XQuery expression: %s"
    *Cause:    An error occurred during the parsing of the XQuery expression.
    *Action:   Check the detailed error message for the possible causes.
    My oracle version is 10gR2 Express Edition
    I do need a script for loading xml files into a table as soon as possible, Give me please a simple example for understanding and that works on 10gR2 Express Edition
    Thanks in advance!

    The reason your first SQL statement
    select x1.status_code,
            x1.status_remarks,
            x2.segment_number,
            x2.remarks
    from xmltable(
      '/ACCOUNT_HEADER_ACK/HEADER'
      passing acct_doc
      columns header_no      for ordinality,
              status_code    number        path 'STATUS_CODE',
              status_remarks varchar2(100) path 'STATUS_REMARKS'
    ) x1,
    xmltable(
      '$d/ACCOUNT_HEADER_ACK/DETAILS[$hn]/DETAIL'
      passing acct_doc as "d",
              x1.header_no as "hn"
      columns segment_number number        path 'SEGMENT_NUMBER',
              remarks        varchar2(100) path 'REMARKS'
    ) x2
    returns the error you noticed
    PL/SQL: ORA-00932: inconsistent datatypes: expected - got NUMBER
    is because Oracle is expecting XML to be passed in.  At the moment I forget if it requires a certain format or not, but it is simply expecting the value to be wrapped in simple XML.
    Your query actually runs as is on 11.1 as Oracle changed how that functionality worked when 11.1 was released.  Your query runs slowly, but it does run.
    As you are dealing with groups, is there any way the input XML can be modified to be like
    <ACCOUNT_HEADER_ACK>
    <ACCOUNT_GROUP>
    <HEADER>....</HEADER>
    <DETAILS>....</DETAILS>
    </ACCOUNT_GROUP>
      <ACCOUNT_GROUP>
      <HEADER>....</HEADER>
      <DETAILS>....</DETAILS>
      </ACCOUNT_GROUP>
    </ACCOUNT_HEADER_ACK>
    so that it is easier to associate a HEADER/DETAILS combination?  If so, it would make parsing the XML much easier.
    Assuming the answer is no, here is one hack to accomplish your goal
    select x1.status_code,
            x1.status_remarks,
            x3.segment_number,
            x3.remarks
    from xmltable(
      '/ACCOUNT_HEADER_ACK/HEADER'
      passing acct_doc
      columns header_no      for ordinality,
              status_code    number        path 'STATUS_CODE',
              status_remarks varchar2(100) path 'STATUS_REMARKS'
    ) x1,
    xmltable(
      '$d/ACCOUNT_HEADER_ACK/DETAILS'
      passing acct_doc as "d",
      columns detail_no      for ordinality,
              detail_xml     xmltype       path 'DETAIL'
    ) x2,
    xmltable(
      'DETAIL'
      passing x2.detail_xml
      columns segment_number number        path 'SEGMENT_NUMBER',
              remarks        varchar2(100) path 'REMARKS') x3
    WHERE x1.header_no = x2.detail_no;
    This follows the approach you started with.  Table x1 creates a row for each HEADER node and table x2 creates a row for each DETAILS node.  It assumes there is always a one and only one association between the two.  I use table x3, which is joined to x2, to parse the many DETAIL nodes.  The WHERE clause then joins each header row to the corresponding details row and produces the eight rows you are seeking.
    There is another approach that I know of, and that would be using XQuery within the XMLTable.  It should require using only one XMLTable but I would have to spend some time coming up with that solution and I can't recall whether restrictions exist in 10gR2 Express Edition compared to what can run in 10.2 Enterprise Edition for XQuery.

  • How to load a java file into Oracle?

    Hello,
    I have some problem in loading a java file into Oracle 8i. I used "loadjava -user <userName/Password> -resolve <javaClassName>" command.
    JAVA Version used JDK 1.5
    When calling this class file from a trigger gives this error
    ORA-29541: class ANTONY1.DBTrigger could not be resolved.
    Can anyone help me to resolve this problem?

    Hello,
    Which username did you use to load the class, and which user is running the trigger?
    The default resolver searches only the current user's schema and PUBLIC so the java class needs to be loaded into one of these.
    cheers,
    Anthony

  • Example for loading a csv file into diadem from a labview application

    Hi everyone, i'm using labview 8.2 and DIAdem 10.1.
    I've been searching in NI example finder but I had no luck so far.
    I have already downloaded the labview connectivity VIs.
    Can anyone provide a example that can help me loading a csv file into diadem from a labview application?
    Thanks

    Hi Alexandre.
    I attach an example for you.
    Best Regards.
    Message Edité par R_Duval le 01-15-2008 02:44 PM
    Romain D.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    NIDays 2010 : Conférence mondiale de l'instrumentation virtuelle
    >>Détails et Inscription<<
    Attachments:
    Classeur1.csv ‏1 KB
    Load CSV to Diadem.vi ‏15 KB

  • Loading an XML file into the table without creating a directory .

    Hi,
    I wanted to load an XML file into a table column . But I should not create a directory in the server and placing the XML file there and giving the path in the insert query. Can anybody help me here?
    Thanks in advance.

    You could write a java stored procedure that retrieves the file into a clob. Wrap that in a function call and use it in your insert statement.
    This solution require read privileges granted by sys and is therefore only feasible if the top-level directory/directories are known or you get read-access to everything.

  • How to load a XML file into the database

    Hi,
    I've always only loaded data into the database by using SQL-Loader and the data format was Excel or ASCII
    Now I have to load a XML.
    How can I do?
    The company where I work has Oracle vers. 8i (don't laugh, please)
    Thanks in advance!

    Hi,
    Tough job especially if the XML data is complex. The have been some similar question in the forum:
    Using SQL Loader to load an XML File -- use 1 field's data for many records
    SQL Loader to upload XML file
    Hope they help.
    Regards,
    Sujoy

  • Data Load from XML file to Oracle Table

    Hi,
    I am trying to load data from XML file to Oracle table using DBMS_XMLStore utility.I have performed the prerequisites like creating the directory from APPS user, grant read/write to directory, placing the data file on folder on apps tier, created a procedure ‘insertXML’ to load the data based on metalink note (Note ID: 396573.1 How to Insert XML by passing a file Instead of using Embedded XML). I am running the procedure thru below anonymous block  to insert the data in the table.
    Anonymous block
    declare
      begin
      insertXML('XMLDIR', 'results.xml', 'employee_results');
      end;
    I am getting below error after running the anonymous block.
    Error :     ORA-22288: file or LOB operation FILEOPEN failed”
    Cause :   The operation attempted on the file or LOB failed.
    Action:   See the next error message in the error stack for more detailed
               information.  Also, verify that the file or LOB exists and that
               the necessary privileges are set for the specified operation. If
               the error still persists, report the error to the DBA.
    I searched this error on metalink and found DOC ID 1556652.1 . I Ran the script provided in the document. PFA the script.
    Also, attaching a document that list down the steps that I have followed.
    Please check and let me know if I am missing something in the process. Please help to get this resolve.
    Regards,
    Sankalp

    Thanks Bashar for your prompt response.
    I ran the insert statement but encountered error,below are the error details. statement.
    Error report -
    SQL Error: ORA-22288: file or LOB operation FILEOPEN failed
    No such file or directory
    ORA-06512: at "SYS.XMLTYPE", line 296
    ORA-06512: at line 1
    22288. 00000 -  "file or LOB operation %s failed\n%s"
    *Cause:    The operation attempted on the file or LOB failed.
    *Action:   See the next error message in the error stack for more detailed
               information.  Also, verify that the file or LOB exists and that
               the necessary privileges are set for the specified operation. If
               the error still persists, report the error to the DBA.
    INSERT statement I ran
    INSERT INTO employee_results (USERNAME,FIRSTNAME,LASTNAME,STATUS)
        SELECT *
        FROM XMLTABLE('/Results/Users/User'
               PASSING XMLTYPE(BFILENAME('XMLDIR', 'results.xml'),
               NLS_CHARSET_ID('CHAR_CS'))
               COLUMNS USERNAME  NUMBER(4)    PATH 'USERNAME',
                       FIRSTNAME  VARCHAR2(10) PATH 'FIRSTNAME',
                       LASTNAME    NUMBER(7,2)  PATH 'LASTNAME',
                       STATUS  VARCHAR2(14) PATH 'STATUS'
    Regards,
    Sankalp

  • Load an XML file into table(s)

    Hi ,
    I have to load data from an xml file into an Oracle DB but I never used this king of process before. The purpose is to use as much as possible Oracle standard features ( stored procedures , functions , API's ).
    Can someone explain me in simple explanations how to do it ? Thanks in advance for your help.
    The XML must not be stored in the database , only the final tables
    Values can be inserted , updated , or deleted from the final tables
    Here are the versions of the tools I am using :
    Oracle RDBMS : 10.2.0.4.0
    Oracle Applications : 11.5.10.2
    Toad : 9.5.0.31
    SQL Plus : 8.0.6.0.0
    The header of the xsd :
    <?xml version="1.0" encoding="windows-1252" ?>
    - <!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by erik de bruyn (Graydon)
    -->
    - <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3schools.com" targetNamespace="http://www.w3schools.com" elementFormDefault="qualified">
    An extract of the xml :
    <?xml version="1.0" encoding="windows-1252" ?>
    - <GraydonBeDialogue>
    <TransactionCode>RTB</TransactionCode>
    - <Table ClassTable="Country">
    - <TableEntry>
    <TableLanguage>N</TableLanguage>
    <TableCode>AD</TableCode>
    <TableValue>Andorra</TableValue>
    </TableEntry>
    - <TableEntry>
    <TableLanguage>N</TableLanguage>
    <TableCode>AE</TableCode>
    <TableValue>Verenigde Arabische Emiraten</TableValue>
    </TableEntry>
    </Table>
    - <Table ClassTable="Summons">
    - <TableEntry>
    <TableLanguage>N</TableLanguage>
    <TableCode>D</TableCode>
    <TableValue>De dagvaarding is het gevolg</TableValue>
    </TableEntry>
    - <TableEntry>
    <TableLanguage>N</TableLanguage>
    <TableCode>S</TableCode>
    <TableValue>Doorgehaald bij de arbeidsrechtbank</TableValue>
    </TableEntry>
    </Table>
    </GraydonBeDialogue>
    The result I would have :
    Two tables ( Country and Summons ) , each containing 3 columns ( TableLanguage , TableCode , TableValue ) :
    Table Country : TableLanguage TableCode TableValue
    N AD Andorra
    N AE Verenigde Arabische Emiraten
    Table Summons : TableLanguage TableCode TableValue
    N D De dagvaarding is het gevolg
    N S Doorgehaald bij de arbeidsrechtbank

    for table Country
    create table Country as
    with t as (
        select
        xmltype (
            '<?xml version="1.0" encoding="windows-1252" ?>
    <GraydonBeDialogue>
         <TransactionCode>RTB</TransactionCode>
              <Table ClassTable="Country">
                   <TableEntry>
                        <TableLanguage>N</TableLanguage>
                        <TableCode>AD</TableCode>
                        <TableValue>Andorra</TableValue>
                   </TableEntry>
                   <TableEntry>
                        <TableLanguage>N</TableLanguage>
                        <TableCode>AE</TableCode>
                        <TableValue>Verenigde Arabische Emiraten</TableValue>
                   </TableEntry>
              </Table>
              <Table ClassTable="Summons">
                   <TableEntry>
                        <TableLanguage>N</TableLanguage>
                        <TableCode>D</TableCode>
                        <TableValue>De dagvaarding is het gevolg</TableValue>
                   </TableEntry>
                   <TableEntry>
                        <TableLanguage>N</TableLanguage>
                        <TableCode>S</TableCode>
                        <TableValue>Doorgehaald bij de arbeidsrechtbank</TableValue>
                   </TableEntry>
              </Table>
    </GraydonBeDialogue>') as xml       
        from dual
    select x.TableLanguage, x.TableCode, x.TableValue
    from t
    ,xmltable('/GraydonBeDialogue/Table[@ClassTable="Country"]/TableEntry'
                       passing t.xml
                       columns TableLanguage varchar2(50) path '/TableEntry/TableLanguage'
                       , TableCode varchar2(50) path '/TableEntry/TableCode'
                       , TableValue varchar2(50) path '/TableEntry/TableValue'                        
                              ) x

  • Loading multiple XML files into one XMLList

    I am working on an app where I will load a list of recipes.  Each recipe is an XML file.  I would have an XML file that lists the filenames that need to be loaded.  I am assuming in can use one HTTPService and loop through this list, and set the url and do myService.send() until all the xml files have been loaded and concatenated into one xml list. True?
    My main question here is how do I load each XML file and add it to the same XMLList?
    Assume each XML file's root tag is <recipe>.  I want to create an XMLList with the root  <recipes> with each <recipe> as a first child.
    Thanks.

    Why don't you use the Data centric workflows which will help you to deal with multiple XML files as AS objects? Something like this
    1. Create a HTTPService using Data menu -> Connect to HTTPService
    2. create a operation getRecipe and enter your URL example URL: http://myserver/recipe?name=recipename
    3. Use Configure Return Type to tell that this method returns a Recipe class
    4. Use DataBinding to bind the result of this to a DataGrid
    Call the following in a loop and
    recipeName = myRecipes+ // All of your recipe names, Recipe is a ArrayCollecition
    Recipe.setAt(i) = Svc1.getRecipe(recipeName);
    At the end you would have a Recipe[]
    This is one of the ways you could work instead of having a XMLListCollection and use e4x etc. to go through your collection.
    Let us know if this helps, or you are looking for something else.
    Thanks
    -Sunil

  • Help in loading the xml file using  AS 2.0

    Hi
    I try to load the Xml file in As file but i need do all the
    fetching details from the __LoadXmlFile file function
    but it's working fine can any one help me for this issue
    ~~Sk

    You can't! Well, at least Flex cannot do this. All Flex can
    do is send this data -- any data -- to the server and it's up to
    you how you want to append this data to a file on the server.
    You see, flex can't write to local files. If you looking for
    client side file manipulation, take a look at Flex's desktop
    brother call AIR!
    ATTA

  • Help Required:How Upload Excel file Into Oracle Table Using PLSQL Procedure

    Please Help , Urgent Help Needed.
    Requirement is to Upload Excel file Into Oracle Table Using PLSQL Procedure/Package.
    Case's are :
    1. Excel File is On Users/ Client PC.
    2. Application is on Remote Server(Oracle Forms D2k).
    3. User Is Using Application Using Terminal Server LogIn.
    4. So If User Will Use to GET_FILE_NAME() function of D2K to Get Excel File , D2k Will Try to pick File from That Remote Server(Bcs User Logind from Terminal Server Option).
    5. Cannot Use Util_File Package Or Oracle Directory to Place That File on Server.
    6. we are Using Oracle 8.7
    So Need Some PL/SQL Package or Fuction/ Procedure to Upload Excel file on User's Pc to Oracle Table.
    Please Guide me wd some Code. or with Some Pl/SQL Package, or With SOme Hint. Or any Link ....
    Jus help to Sort This Issue ........
    you can also write me on :
    [email protected], [email protected]

    TEXT_IO is a PL/SQL package available only in Forms (you'll want to post in the Forms forum for more information). It is not available in a stored procedure in the database (where the equivalent package is UTL_FILE).
    If the Terminal Server machine and the database machine do not have access to the file system on the client machine, no application running on either machine will have access to the file. Barring exceptional setups (like the FTP server on the client machine), your applications are not going to have more access to the client machine than the operating system does.
    If you map the client drives from the Terminal Server box, there is the potential for your Forms application to access those files. If you want the files to be accessible to a stored procedure in the database, you'll need to move the files somewhere the database can access them.
    Justin

Maybe you are looking for

  • HP LaserJet Pro 200 color MFP M276nw - No Embedded Web Server (Port 80 not even showing open)

    The embedded web server on our LaserJet Pro 200 color MFP M276nw is not responding and a port scan of the printer shows that port 80 is not open. We have power cycled the printer and that did not resolve the issue.  Is there a way to check the status

  • Vendor Ageing Items

    Dear Experts, The due dates for our supplier items are already passed and the suppliers did not claim them and there are many items like that in 2011. We don't know if the supplier will claim them again or not, some of them may be out of business. Bu

  • Second box

    Hi I have a bt tv subscription (non infinity non sports). My brother in law is moving house and has an out of contract black btv box. Can I use this as a cheap way to get multiroom or is it a non starter?

  • Are there any good fax programs that work with Efax besides Efax Messenger

    I just signed up for a free months trial of Efax. I downloaded the Efax Messenger program which seems to work well except for the fact that it does not save any fax packages (on my computer) that I send out. This is an important needed feature. If I

  • Java outputstream java.lang.OutOfMemoryError: Java heap space

    Hi All, I am trying to publish a large video/image file from the local file system to an http path, but I run into an out of memory error after some time... here is the code public boolean publishFile(URI publishTo, String localPath) throws Exception