Pl sql tables to VB

Hi all,
We have ORACLE 7.3 as server and VB 6.0 as the client . We have a procedure that returns PL/SQL table as an out parameter.When the procedure returns a single dimensional PL/SQL table , the front end does not have any problem in getting the output. When the same package tries to return a multidemensioanl PL/SQL table to front end we get an error message in the front end saying that the provider does not support PL/SQL tables or records.The package creates the PL/SQL table as follows
TYPE emp_inf is RECORD
(empno varchar2(7),
ename varchar2(50));
TYPE emp_inf_table is table of emp_inf
INDEX BY BINARY_INTEGER;
The procedure works fine on the server side.Any ideas why we are getting that error message. We are using ADO in the front end. Any other way of doing the above.
Thanks in advance,
Jay.

direct vb questions which use the odbc driver to the odbc forum.
you might get an answer there.

Similar Messages

  • Can Crystal Report XI update data in a SQL Table

    Post Author: abidamin
    CA Forum: Data Connectivity and SQL
    Hi,
    I have a very specific requirement to update a flag field in one of SQL2005 database tables, I need to update a One character field with Y on all selected records printed on the report as a result of running the report successuflly.
    Can anyone let me know if it is possible to update a SQL table field using Crystal Report XI.
    Regards

    Post Author: SKodidine
    CA Forum: Data Connectivity and SQL
    Perhaps this KBase article can be of some help.
    http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2011921&sliceId=&dialogID=18608077&stateId=1%200%2018610053

  • Inserting values from a PL SQL table to a database table

    Hi,
    Here is my dilemma.
    I have values inserted to a pl sql table which I have gathered from a web page. Now I need to add these same values to a database table. I see the values as 1-'AA', 2='BB' etc.
    I use the following code to insert to a outside table in the database and it seems to be crashing.
    for i in app_table.first .. app_table.last loop
    r_convention(i).priority_country_code:=app_table(i);
    insert into test_countries
    values (test_seq,tion(i).r_convention(i).priority_country_code);
    commit;
    end loop;
    WHen I run this code I see the values. But it goes to the first value and then crashes and does not go through the
    rest of the values. What am I missing here?
    Thanks!

    Hi,
    Why can't you directly insert into the table from the object type....
    for i in app_table.first .. app_table.last loop
    r_convention(i).priority_country_code:=app_table(i);
    insert into test_countries
    values (test_seq,app_table(i));
    commit;
    end loop;Can you give me your complete code, so that we can have a better picture..
    Edited by: plsql dev on Sep 10, 2010 10:14 PM

  • SAP Business One Ver. 9.0 SQL Table Name

    Dear All,
    This is useful SQL Table Name for SAP Business One Ver.9.0 in details
    Name     Description
    AAC1    Asset Classes - Depreciation Areas - History
    AACP    Periods Category-Log
    AACS    Asset Classes - History
    AACT    G/L Account - History
    AAD1    Administration Extension-Log
    AADM    Administration - Log
    AADT    Fixed Assets Account Determination - History
    ABAT    Attribute - History
    ABFC    Bin Field Configuration - History
    ABIN    Bin Location - History
    ABO1    External Bank Operation Code - Rows - Log
    ABOC    External Bank Operation Code - Log
    ABOE    Bill of Exchange for Payment - History
    ABP1    Business Place Tax IDs
    ABP2    Branch Tributary Info. Log
    ABPL    Business Place
    ABSL    Warehouse Sublevel - History
    ABT1    Internal Bank Operation Codes - Accounts - Log
    ABTC    Internal Bank Operation Codes -  Log
    ABTN    Batch Numbers Master Data
    ABTW    Batch Attributes in Location
    ACD1    Credit Memo - Rows
    ACD2    Credit Memo - Area Journal Transactions
    ACD3    Credit Memo - Item Areas
    ACFP    CFOP for Nota Fiscal
    ACH1    Checks for Payment - Rows - History
    ACHO    Checks for Payment - History
    ACP1    Campaign - BPs
    ACP2    Campaign - Items
    ACP3    Campaign - Partners
    ACPN    Campaign
    ACPR    Contact Persons - History
    ACQ1    Capitalization - Rows
    ACQ2    Capitalization - Area Journal Transactions
    ACQ3    Capitalization - Item Areas
    ACR1    Business Partner Addresses - History
    ACR2    Bussiness Partners - Payment Methods-History
    ACR3    Business Partner Control Accounts - History
    ACR4    Allowed WTax Codes for BP - History
    ACR5    BP Payment Dates
    ACR7    Fiscal IDs for BP Master Data
    ACRB    Business Partner Bank Accounts - History
    ACRC    Credit Cards
    ACRD    Business Partners - History
    ACS1    Asset Classes - Depreciation Areas
    ADG1    Discount Groups Rows
    ADM1    Administration Extension
    ADM2    Administration Electronic Report
    ADMC    GL Account Determination - Criteria - History
    ADNF    DNF Code
    ADO1    A/R Invoice (Rows) - History
    ADO10    A/R Invoice - Row Structure - History
    ADO11    A/R Inv (Drawn Dpm Det) - Hist
    ADO12    A/R Invoice - Tax Extension - History
    ADO13    A/R Invoice Rows - Distributed Expenses
    ADO14    Invoice - Assembly - Rows - History
    ADO15    A/R Inv (Drawn Dpm Applied) - Hist
    ADO16    Draft - SnB properties
    ADO17    A/R Invoice - Import Process - History
    ADO18    A/R Invoice - Export Process - History
    ADO19    Bin Allocation Data - History
    ADO2    A/R Invoice - Freight - Rows
    ADO20    Intrastat Expenses
    ADO3    A/R Invoice - Freight - History
    ADO4    Documents - Tax - History
    ADO5    Withholding Tax - History
    ADO6    Documents History - Installments
    ADO7    Delivery Packages - History
    ADO8    Items in Package - History
    ADO9    A/R Invoice (Rows) - History
    ADOC    Invoice - History
    ADPA    Fixed Asset Depreciation Areas - History
    ADS1    House Bank Accounts
    ADT1    Depreciation Types - Rows - History
    ADTP    Fixed Assets Depreciation Types - History
    AEC1    Parameters for Various Types of Electronic Communication
    AEC2    Messages Processed via Electronic Communication
    AEC3    Statuses and Logs for Actions in Electronic Communication
    AECM    Electronic Communication Types or Protocols
    AEDG    Discount Groups
    AEXD    Freight Setup
    AFA1    Asset Document - Rows
    AFA2    Asset Document - Area Journal Transactions
    AFAD    Asset Document - History
    AFM1    Tax Formula Parameter Declaration
    AFML    Tax Formula Master Table
    AFPR    Posting Period-Log
    AGAR    G/L Account Advanced Rules - History
    AHE1    Absence Information
    AHE2    Education
    AHE3    Employee Reviews
    AHE4    Previous Employment
    AHE6    Employee Roles
    AHE7    Savings Payments
    AHEM    Employees
    AIGW    Item Group - Warehouse - History
    AIN1    Inventory Counting - Rows
    AIN2    Inventory Counting - UoM
    AIN3    Inventory Count - SnB
    AINC    Inventory Stock Counting
    AINS    Customer Equipment Card - History
    AIQI    Inventory Initial Quantity
    AIQR    Inventory Stock Posting (Reconcile)
    AIT1    Item - Prices - History
    AIT11    Asset Item Period Control
    AIT13    Asset Attributes
    AIT2    Items - Multiple Preferred Vendors - History
    AIT3    Items - Localization Fields - History
    AIT5    Asset Item Projects - History
    AIT6    Asset Item Distribution Rules
    AIT7    Asset Item Depreciation Params - History
    AIT8    Asset Item Balances - History
    AIT9    Item - UoM Prices
    AITB    Item Groups - History
    AITM    Items - History
    AITT    Product Tree - History
    AITW    Items - Warehouse - History
    AJD1    Journal Entry - History - Rows
    AJD2    Withholding Tax - History
    AJDT    Journal Entry - History
    AKL1    Pick List - Rows - History
    AKL2    Pick List for SnB and Bin Details
    ALR2    Dynamic message data row
    ALR3    Dynamic message data cells
    AMD1    Amout Differences Report Lines
    AMDR    Manual Distribution Rule
    AMDR1    Manual Distribution Rule - Rows
    AMGP    Material Group
    AMR1    Inventory Revaluation - History - Rows
    AMR2    Inventory Revaluation FIFO Rows (Archive)
    AMR3    Inventory Revaluation SNB
    AMRV    Inventory Revaluation - History
    ANCM    NCM Code
    AOA1    Blanket Agreement - Rows
    AOA2    Blanket Agreement - Details
    AOA3    Item Details: Activity
    AOA4    Blanket Agreement - Recurring Transactions
    AOAT    Blanket Agreement
    AOC1    Distribution Rule - Rows
    AOCR    Distribution Rule
    AOPR    Sales Opportunity
    APJ1    Project Plan Steps
    APJ2    Project Plan Steps Time Record
    APJT    Project Plan
    APKL    Pick List - History
    APLN    Price Lists
    APRC    Cost Center
    APRJ    Project Codes
    AQI1    Inventory Initial Qty Rows
    AQI2    Inventory Count - SnB
    AQR1    Inventory Stock Posting (Reconcile) Lines
    AQR2    Inventory Counting - UoM
    AQR3    Inventory Count - SnB
    ARC1    Incoming Payment - Checks - History
    ARC2    Incoming Payment - Invoices - History
    ARC3    Credit Vouchers History
    ARC4    Incoming Payment - Account List - History
    ARC5    Reciept log  vat adjustment-History
    ARC6    Incoming Payments - WTax Rows - History
    ARC7    Incoming Payments - Tax Amount per Document - History
    ARC8    Incoming Payment - TDS Entries - History
    ARCT    Incoming Payment - History
    ARI1    Add-On
    ASC1    Service Call Solutions - History
    ASC2    Service Call Inventory Expenses - History
    ASC3    Service Call Travel/Labor Expenses - History
    ASC4    Service Call Travel/Labor Expenses - History
    ASC5    Service Call Activities - History
    ASCL    History
    ASGP    Service Group for Brazil
    ASP1    Special Prices - Data Areas
    ASP2    Special Prices - Quantity Areas
    ASPP    Special Prices
    ASRN    Serial Numbers Master Data
    AST1    Sales Tax Codes - Rows
    ASTC    Sales Tax Codes
    ASTT    Sales Tax Authorities Type
    ATC1    Attachments - Rows
    ATHL    Thresholds
    ATSC    CST Code for Nota Fiscal
    ATT1    Bill of Materials - Component Items - History
    ATX1    Tax Invoice - History - Rows
    ATX2    Tax Invoice Operation Codes
    ATXI    Tax Invoice - History
    AUG1    UoM Group Detail
    AUGP    UoM Group
    AUOM    UoM Master Data
    AUSR    Archive Users - History
    AVT1    Tax Definition
    AVTG    Tax Definition
    AWEX    Workflow Engine Execution Entity
    AWFQ    SWFQ History Table
    AWH1    Tax Definition
    AWH2    WTax Definition - Rows2
    AWH3    Value Range
    AWHS    Warehouses - History
    AWHT    Withholding Tax
    AWL1    Potential Processor of Tasks
    AWL2    Input data for tasks
    AWL3    Task Notes
    AWL4    Task Output Data
    AWL5    Task Field Mapping Information
    AWLS    Workflow - Task Details
    AWMG    Workflow Manager
    AWO1    Production Order (Rows) - History
    AWO2    Production Order - Base
    AWOR    Production Order - History
    AWTS    Workflow Engine Task Table
    BGT1    Budget - Rows
    BGT2    Budget - Cost Accounting
    BGT3    Budget - Cost Accounting Rows
    BNK1    Bank Statement - Documents List
    BNK2    Bank Statement - Recommendation List
    BOC1    External Bank Operation Code - Rows
    BOE1    Bill of Exchange for Payment - Rows
    BOT1    Bill of Exchange Transactions
    BOX1    Box Definition - Rows
    BOX2    Box Definition - Accounts
    BOX3    Box Definition - Choice
    BOX4    Box Definition - Contra Accounts of Accounts
    BPL1    Branch I.E. Numbers
    BPL2    Branch Tributary Info.
    BTC1    Internal Bank Operation Codes - Accounts
    BTF1    Journal Voucher  - Rows
    BTF2    Journal Voucher Withholding Tax - History
    CASE    Internal Recon. Upgrade 2007A
    CASE1    Internal Recon. Upgrade 2007A
    CCAL    Chinese Chart of Account Level Definition
    CCFG    Company Configuration
    CCPD    Period-End Closing
    CCS1    Cycle Count Determination- Subtable
    CDC1    Cash Discount - Rows
    CDIC    Dictionary
    CFH1    Cash Flow Statement Report - History - Rows
    CFUS    Functionality Usage Statistics
    CHD1    Checks for Payment Drafts - Rows
    CHO1    Checks for Payment - Rows
    CHO2    Checks for Payment - Print Status
    CIF1    Country Specific Information
    CIN1    Correction Invoice - Rows
    CIN10    Correction Invoice - Row Structure
    CIN12    Correction Invoice - Tax Extension
    CIN13    Correction Invoice Rows - Distributed Expenses
    CIN17    Correction Invoice - Bin Allocation Data
    CIN18    Correction Invoice - Export Process
    CIN19    Correction Invoice - Bin Allocation Data
    CIN2    A/R Correction Invoice - Freight - Rows
    CIN20    Intrastat Expenses
    CIN3    A/R Correction Invoice - Freight
    CIN4    Correction Invoice - Tax Amount per Document
    CIN5    A\R Correction Invoice - Withholding Tax
    CIN6    Correction Invoice - Installments
    CIN7    Delivery Packages - Correction Invoice
    CIN8    Items in Package - Correction Invoice
    CIN9    Correction Invoice - Drawn Dpm
    CPI1    A/P Correction Invoice - Rows
    CPI10    A/P Correction Invoice - Row Structure
    CPI12    A/P Correction Invoice - Tax Extension
    CPI13    A/P Correction Invoice Rows - Distributed Expenses
    CPI14    A/P Correction Invoice - Assembly - Rows
    CPI15    A/P Corr Inv - Drawn Dpm Appld
    CPI16    A/P Corr. Inv - SnB properties
    CPI17    A/P Correction Invoice - Import Process
    CPI18    A/P Correction Invoice - Export Process
    CPI19    A/P Correction Invoice - Bin Allocation Data
    CPI2    A/P Correction Invoice - Freight - Rows
    CPI20    Intrastat Expenses
    CPI3    A/P Correction Invoice - Freight
    CPI4    A/P Correction Invoice - Tax Amount per Document
    CPI5    Withholding Tax Data
    CPI6    Documents History - Installments
    CPI7    A/P Correction Invoice - Delivery Packages
    CPI8    A/P Correction Invoice - Items in Package
    CPI9    A/P Corr. Invoice - Drawn Dpm
    CPL1    Quick Copy - Instance Log
    CPN1    Campaign - BPs
    CPN2    Campaign - Items
    CPN3    Campaign - Partners
    CPT1    Cockpit Subtable
    CPV1    A/P Correction Invoice Reversal - Rows
    CPV10    A/P CrIn Rev - Row Structure
    CPV12    A/P Correction Invoice Reversal - Tax Extension
    CPV13    A/P Correction Invoice Reversal Rows - Distributed Expenses
    CPV14    A/P Correction Invoice Reversal - Assembly - Rows
    CPV15    A/P CrIn Rev - Drawn Dpm Appld
    CPV16    A/P Correction Invoice Reversal - SnB properties
    CPV17    A/P Correction Invoice Reversal - Import Process
    CPV18    A/P Correction Invoice Reversal - Export Process
    CPV19    A/P Correction Invoice Reversal - Bin Allocation Data
    CPV2    A/P Correction Invoice Reversal - Freight - Rows
    CPV20    Intrastat Expenses
    CPV3    A/P Correction Invoice Reversal - Freight
    CPV4    A/P Correction Invoice Reversal - Tax Amt per Doc.
    CPV5    A/P Correction Invoice Reversal - WTax
    CPV6    A/P Correction Invoice Reversal - Installments
    CPV7    A/P Corr Inv Rvsl - Deliv Pkgs
    CPV8    A/P Correction Invoice Reversal - Items in Package
    CPV9    A/P Corr Inv Rvrsl - Drawn Dpm
    CRD1    Business Partners - Addresses
    CRD2    Bussiness Partners - Payment Methods
    CRD3    BP Control Account
    CRD4    Allowed WTax Codes for BP
    CRD5    BP Payment Dates
    CRD6    BP's Payer Name
    CRD7    Fiscal IDs for BP Master Data
    CRD8    BP Branch Assignment
    CRD9    OCRD Extension
    CSI1    A/R Correction Invoice - Rows
    CSI10    A/R Correction Invoice - Row Structure
    CSI12    A/R Correction Invoice - Tax Extension
    CSI13    A/R Correction Invoice Rows - Distributed Expenses
    CSI14    A/R Correction Invoice - Assembly - Rows
    CSI15    A/R Corr Inv - Drawn Dpm Appld
    CSI16    A/R Corr. Inv. - SnB properties
    CSI17    A/R Correction Invoice - Import Process
    CSI18    A/R Correction Invoice - Export Process
    CSI19    A/R Correction Invoice - Bin Allocation Data
    CSI2    A/R Corr Inv - Freight - Rows
    CSI20    Intrastat Expenses
    CSI3    A/R Correction Invoice - Freight
    CSI4    A/R Correction Invoice - Tax Amount Per Document
    CSI5    A/R Correction Invoice - Withholding Tax
    CSI6    A/R Corr. Inv. - Installments
    CSI7    A/R Corr. Inv. Deliv. Pkgs
    CSI8    A/R Corr. Inv. - Items in Pkg
    CSI9    A/R Corr. Inv. - Drawn Dpm
    CSN1    Certificate Series - Series
    CSPI    Solution Packager Information
    CSTN    Workstation ID
    CSV1    A/R Correction Invoice Reversal - Rows
    CSV10    A/R Correction Invoice Reversal - Row Structure
    CSV12    A/R Correction Invoice Reversal - Tax Extension
    CSV13    A/R Correction Invoice Reversal Rows - Distributed Expenses
    CSV14    A/R Correction Invoice Reversal - Assembly - Rows
    CSV15    A/R CrIn Rev - Drawn Dpm Appld
    CSV16    A/R Correction Invoice Reversal - SnB properties
    CSV17    A/R Correction Invoice Reversal - Bin Allocation Data
    CSV18    A/R Correction Invoice Reversal - Export Process
    CSV19    A/R Correction Invoice Reversal - Bin Allocation Data
    CSV2    A/R Correction Invoice Reversal - Freight - Rows
    CSV20    Intrastat Expenses
    CSV3    A/R Correction Invoice Reversal - Freight
    CSV4    A/R Correction Invoice Reversal - Tax Amount Per Document
    CSV5    A/R Correction Invoice Reversal - WTax
    CSV6    A/R Correction Invoice Reversal - Installments
    CSV7    A/R Correction Invoice Reversal - Delivery Packages
    CSV8    A/R Correction Invoice Reversal - Items in Package
    CSV9    A/R CrIn Rev - Drawn Dpm
    CTG1    Installment Layout
    CTNS    Transaction Notification Setting
    CTR1    Service Contract - Items
    CTR2    Service Contract - Recurring Transactions
    CUL1    Customer Usage Statistics Log
    CUMF    Folder
    CUMI    My Menu Items
    DAB1    Dashboard Queries
    DADB    Data Archive DSA Balance
    DAR1    Data Archive - Transaction Log
    DAR2    Data Archive - Transaction Log
    DAR3    Data Archive - Handwritten Documents
    DATB    Data Archive Tax Balance
    DBADM    Read-Only DB User
    DDT1    Withholding Tax Deduction Hierarchy - Rows
    DGP1    Customer List
    DGP2    Expanded Selection Criteria
    DGP3    Expanded Consolidation Options
    DGP4    Business Place List
    DGP5    Sort By List
    DLN1    Delivery - Rows
    DLN10    Delivery - Row Structure
    DLN12    Delivery - Tax Extension
    DLN13    Delivery Rows - Distributed Expenses
    DLN14    Delivery Notes - Assembly - Rows
    DLN15    Delivery - Drawn Dpm Applied
    DLN16    Delivery - SnB properties
    DLN17    Delivery - Import Process
    DLN18    Delivery - Export Process
    DLN19    Delivery - Bin Allocation Data
    DLN2    Delivery Notes - Freight - Rows
    DLN20    Intrastat Expenses
    DLN3    Delivery Notes - Freight
    DLN4    Delivery - Tax Amount per Document
    DLN5    Delivery - Withholding Tax
    DLN6    Delivery - Installments
    DLN7    Delivery Packages
    DLN8    Items in Package - Delivery
    DLN9    Delivery - Drawn Dpm
    DMW1    Query List
    DOC20    Intrastat Expenses
    DPI1    A/R Down Payment - Rows
    DPI10    A/R Down Payment - Row Structure
    DPI11    A/R DP - Drawn Dpm Detail
    DPI12    Down Payment In - Tax Extension
    DPI13    A/R Down Payment Rows - Distributed Expenses
    DPI14    A/R Down Payment - Assembly - Rows
    DPI15    A/R DP - Drawn Dpm Applied
    DPI16    A/R Down Payment - SnB properties
    DPI17    A/R Down Payment - Import Process
    DPI18    A/R Down Payment - Export Process
    DPI19    A/R Down Payment - Bin Allocation Data
    DPI2    A/R Down Payment - Freight - Rows
    DPI20    Intrastat Expenses
    DPI3    A/R Down Payment - Freight
    DPI4    A/R Down Payment - Tax Amount per Document
    DPI5    A/R Down Payment - Withholding Tax
    DPI6    A/R Down Payment - Installments
    DPI7    Delivery Packages - A/R Down Pymt
    DPI8    Items in Package - A/R Down Pmt.
    DPI9    Down Payment Incoming - Drawn Dpm
    DPO1    A/P Down Payment - Rows
    DPO10    A/P Down Payment - Row Structure
    DPO12    Down Payment - Tax Extension
    DPO13    A/P Down Payment Rows - Distributed Expenses
    DPO14    A/P Down Payment - Assembly - Rows
    DPO15    A/P DP - Drawn Dpm Applied
    DPO16    A/P Down Payment - SnB properties
    DPO17    A/P Down Payment - Import Process
    DPO18    A/P Down Payment - Export Process
    DPO19    A/P Down Payment - Bin Allocation Data
    DPO2    A/P Down Payment - Freight - Rows
    DPO20    Intrastat Expenses
    DPO3    A/P Down Payment - Freight
    DPO4    A/P Down Payment - Tax Amount per Document
    DPO5    A/P Down Payment - Withholding Tax
    DPO6    Down Payment Out - Installments
    DPO7    Delivery Packages - A/P Down Pymt
    DPO8    Items in Package - A/P Down Pmt.
    DPO9    Down Payment Outgoing - Drawn Dpm
    DPS1    Deposit - Rows
    DRF1    Draft - Rows
    DRF10    Draft - Row Structure
    DRF12    Draft - Tax Extension
    DRF13    Draft Rows - Distributed Expenses
    DRF14    Draft - Assembly - Rows
    DRF15    Draft - Drawn Dpm Applied
    DRF16    Draft - SnB - Rows
    DRF17    Draft - Import Process
    DRF18    Draft - Export Process
    DRF19    Draft - Bin Allocation Data
    DRF2    Draft - Freight - Rows
    DRF20    Intrastat Expenses
    DRF3    Draft - Freight
    DRF4    Draft Documents - Tax
    DRF5    Draft Documents - Withholding Tax
    DRF6    Document Drafts - Installments
    DRF7    Delivery Packages - Drafts
    DRF8    Items in Package - Draft
    DRF9    Document Draft - Drawn Dpm
    DRN1    Depreciation Run - Posting
    DRN2    Depreciation Run - Posting - Asset
    DSC1    House Bank Accounts
    DTP1    Depreciation Types - Rows
    DUT1    Dunning Term Array1
    DWZ1    Dunning Wizard Array1 - BP Filter
    DWZ2    Dunning Wizard Array 2-Invoice Filter
    DWZ3    Dunning Wizard Array 3 - Recommended Service Invoice
    ECM1    Parameters for Various Types of Electronic Communication
    ECM2    Messages Processed via Electronic Communication
    ECM3    Statuses and Logs for Actions in Electronic Communication
    EDG1    Discount Groups Rows
    EJB1    ERV-JAb Wizard Signing Persons
    EJB2    Docs List for ERV-JAb Wizard
    EJD1    ERV-JAb Signing Persons List
    EOY1    End of Year UDOs
    ERX1    Excise Registering Number-Rows
    FAA1    Asset Attributes - Rows
    FAC1    Fixed Asset Parameter Change - Rows
    FAC2    Fixed Asset Parameter Change - Period Control Change
    FAM1    Fixed Asset Data Migration - Rows
    FAR1    Fixed Asset Revaluation - Rows
    FCT1    Sales Forecast - Rows
    FIX1    Fixed Asset Transaction - Rows
    FLT1    856 Report - Selection Criteria
    FML1    Tax Formula Parameter Declaration
    FRC1    Extend Cat. f. Financial Rep.
    FTR1    Transfer - Rows
    FTR2    Transfer - Area Journal Transactions
    FTR3    Transfer - Item Areas
    GBI1    GBI Row 1 - Electronic Account Book
    GBI10    GBI Row 10 - Enterprise's Cash Flow Statement
    GBI11    GBI Row 11 - Devalue Provision of Enterprise Assets
    GBI12    GBI Row 12 - Shareholder's Rights and Interests Changing Report
    GBI13    GBI Row 13 - Enterprise's Profit Distribution Report
    GBI14    GBI Row 14 - Small Enterprise's Cash Flow Statement
    GBI15    GBI Row 15 - Enterprise's VAT Payable Detail Report
    GBI16    GBI Row 16 - Employees
    GBI2    GBI Row 2 - G/L Account Master Records
    GBI3    GBI Row 3 - Departments
    GBI4    GBI Row 4 - Business Partners
    GBI5    GBI Row 5 - Projects
    GBI6    GBI Row 6 - G/L Account Balance
    GBI7    GBI Row 7 - Accounting Vouchers
    GBI8    GBI Row 8 - Enterprise's Balance Sheet
    GBI9    GBI Row 9 - Enterprise's Profit and Loss Statement
    GFL1    Grid Filter Rules
    GFL2    Grid Filter Name
    GPA1    Gross Profit Adjustment - Log
    GPA2    Gross Profit Adjustments - Parameters
    GTI1    GTS Invoice Details
    GTM1    GTS Mapping Object Details
    HEM1    Absence Information
    HEM2    Education
    HEM3    Employee Reviews
    HEM4    Previous Employment
    HEM5    Employee Data Ownership Authorization
    HEM6    Employee Roles
    HEM7    Savings Payments
    HET1    Employee Transfer Details
    HLD1    Holiday Dates
    HMM1    Child Table of OHMM
    HMM2    Child Table of OHHM
    HTM1    Team Members
    IBT1    Batch Number Transactions
    ICD1    Inventory Counting Draft - Rows
    ICD2    Inventory Counting Draft - UoM
    ICD3    Inventory Count Draft - SnB
    IEI1    Incoming Excise Invoice - Rows
    IEI10    Incoming Excise Invoice - Row Structure
    IEI11    IEI - Drawn Dpm Detail
    IEI12    Incoming Excise Invoice - Tax Extension
    IEI13    Incoming Excise Invoice Rows - Distributed Expenses
    IEI14    Incoming Excise Invoice - Assembly - Rows
    IEI15    IEI - Drawn Dpm Applied
    IEI16    Incoming Excise Invoice - SnB properties
    IEI17    Incoming Excise Invoice - Import Process
    IEI18    Incoming Excise Invoice - Export Process
    IEI19    Incoming Excise Invoice - Bin Allocation Data
    IEI2    Incoming Excise Invoice - Freight - History - Rows
    IEI20    Intrastat Expenses
    IEI3    IEI - Freight
    IEI4    Incoming Excise Invoice - Tax Amount per Document
    IEI5    Incoming Excise Invoice - Withholding Tax
    IEI6    IEI - Installments
    IEI7    Delivery Packages - Incoming Excise Invoice
    IEI8    Incoming Excise Invoice - Items in Package
    IEI9    IEI - Drawn Dpm
    IGE1    Goods Issue - Rows
    IGE10    Goods Issue - Row Structure
    IGE12    Goods Issue - Tax Extension
    IGE13    Goods Issue Rows - Distributed Expenses
    IGE14    Goods Issue - Assembly - Rows
    IGE15    Gds Issue - Drawn Dpm Applied
    IGE16    Goods Issue - SnB properties
    IGE17    Goods Issue - Import Process
    IGE18    Goods Issue - Export Process
    IGE19    Goods Issue - Bin Allocation Data
    IGE2    Goods Issue - Freight - Rows
    IGE20    Intrastat Expenses
    IGE3    Goods Issue - Freight
    IGE4    Goods Issue - Tax Amount per Document
    IGE5    Goods Issue - Withholding Tax
    IGE6    Goods Issue - Installments
    IGE7    Delivery Packages - Goods Issue
    IGE8    Items in Package - Goods Issue
    IGE9    Goods Issue - Drawn Dpm
    IGN1    Goods Receipt - Rows
    IGN10    Goods Receipt - Row Structure
    IGN12    Goods Receipt - Tax Extension
    IGN13    Goods Receipt Rows - Distributed Expenses
    IGN14    Goods Receipt - Assembly - Rows
    IGN15    Gds Rcpt - Drawn Dpm Applied
    IGN16    Goods Receipt - SnB properties
    IGN17    Goods Receipt - Import Process
    IGN18    Goods Receipt - Export Process
    IGN19    Goods Receipt - Bin Allocation Data
    IGN2    Goods Receipt - Freight - Rows
    IGN20    Intrastat Expenses
    IGN3    Goods Receipt - Freight
    IGN4    Goods Receipt - Tax Amount per Document
    IGN5    Goods Receipt - Withholding Tax
    IGN6    Goods Receipt- Installments
    IGN7    Goods Receipt - Delivery Packages
    IGN8    Goods Receipt - Items in Package
    IGN9    Goods Receipt - Drawn Dpm
    ILM1    Srl & Batch Det of Inv Log Msg
    ILM2    Inventory Account Substitute
    IMT1    Acct data in selected template
    IMT11    Calculated expression's constituent with sign for specifying account in specific template
    INC1    Inventory Counting - Rows
    INC2    Inventory Counting - UoM
    INC3    Inventory Count - SnB
    INV1    A/R Invoice - Rows
    INV10    A/R Invoice - Row Structure
    INV11    A/R Invoice - Drawn Dpm Detail
    INV12    A/R Invoice - Tax Extension
    INV13    A/R Invoice Rows - Distributed Freights
    INV14    A/R Invoice - Assembly - Rows
    INV15    A/R Inv. - Drawn Dpm Applied
    INV16    A/R Invoice - SnB properties
    INV17    A/R Invoice - Import Process
    INV18    A/R Invoice - Export Process
    INV19    A/R Invoice - Bin Allocation Data
    INV2    A/R Invoice - Freight - Rows
    INV20    Intrastat Expenses
    INV3    A/R Invoice - Freight
    INV4    A/R Invoice - Tax Amount per Document
    INV5    A/R Invoice - Withholding Tax
    INV6    A/R Invoice - Installments
    INV7    A/R Invoice - Delivery Packages
    INV8    A/R Invoice - Items in Package
    INV9    A/R Invoice - Drawn Dpm
    IOD1    Inventory Initial Qty Draft Rows
    IOD2    Inventory Count Draft - SnB
    IPD1    Inventory Stock Posting Draft (Reconcile) Lines
    IPD2    Inventory Posting Draft - UoM
    IPD3    Inventory Posting Draft - SnB
    IPF1    Landed Costs - Rows
    IPF2    Landed Costs - Costs
    IPF3    Landed Costs - Customs Summary
    IQI1    Inventory Initial Qty Rows
    IQI2    Inventory Count - SnB
    IQR1    Inventory Stock Posting (Reconcile) Lines
    IQR2    Inventory Posting - UoM
    IQR3    Inventory Posting - SnB
    ISW1    Reported Business Partners
    ISW2    Intrastat Reported Items
    ISW3    Declaration Rows
    ITL1    Srl & Batch Details in Transac
    ITM1    Items - Prices
    ITM10    OITM Extension
    ITM11    Asset Item Period Control
    ITM12    UoM in Item
    ITM13    Asset Attributes
    ITM2    Items - Multiple Preferred Vendors
    ITM3    Items - Localization Fields
    ITM4    Package in Items
    ITM5    Asset Item Projects
    ITM6    Asset Item Distribution Rules
    ITM7    Asset Item Depreciation Params
    ITM8    Asset Item Balances
    ITM9    Item - UoM Prices
    ITR1    Internal Reconciliation - Rows
    ITT1    Bill of Materials - Component Items
    ITW1    Item Count Alert
    IVL1    IVL Layer Level
    IVM1    Invoice Mapping Object Details
    IVRU    Inventory Valuation Utility
    IWB1    Batch No. Quantities Backup
    IWB2    Serial No. Quantities Backup
    IWZ1    Accounts Revaluation History
    IWZ2    Inflation Warehouse Filter
    IWZ3    Items Last Revaluation Data
    JDT1    Journal Entry - Rows
    JDT2    Withholding Tax - History
    JST1    TDS Adjustment - Rows
    KPS1    KPI Set Array 1
    LGL1    Legal Data - Rows
    LLR1    Electronic Report Generation Result - Reports
    MAP1    Input and Output of Mapping
    MAP2    Mapping Input and Output Relation
    MDC1    Master Data Cleanup - Log
    MDC2    Master Data Cleanup - MD Log
    MDP1    Manual Depreciation - Rows
    MDP2    Manual Depreciation - Area Journal Transactions
    MDP3    Manual Depreciation - Item Areas
    MDR1    Manual Distribution Rule - Rows
    MIN1    Monthly Invoice Report Document Information
    MIN2    Item Imformation of MI
    MIV1    A/P Monthly Invoice - Document
    MIV2    A/P Monthly Invoice - Item
    MLS1    Distribution Lists - Recipients
    MLT1    Translations in user language
    MRV1    Inventory Revaluation Information Array
    MRV2    Inventory Revaluation FIFO Rows
    MRV3    Inventory Revaluation SNB
    MSN1    MRP Scenarios - Warehouses Array
    MSN2    MRP Run Results
    MSN3    MRP Pegging Information
    MSN4    MRP Scenarios - Items Array
    MSN5    MRP-Specific Document
    NFN1    Not a Fiscal Sequence
    NNM1    Documents Numbering - Series
    NNM4    Electronic Series
    NNM5    Document Numbering - Removed Serial Numbers
    OACD    Credit Memo
    OACG    Account Category
    OACK    Acknowledge Number
    OACM    Accumulation
    OACP    Periods Category
    OACQ    Capitalization
    OACR    Accrual Type
    OACS    Asset Classes
    OACT    G/L Accounts
    OADF    Address Formats
    OADG    Depreciation Groups
    OADM    Administration
    OADT    Fixed Assets Account Determination
    OAGM    Arguments for B1i
    OAGP    Agent Name
    OAGS    Asset Groups
    OAIM    Archive Inventory Message
    OALC    Loading Expenses
    OALI    Alternative Items 2
    OAMD    Amount Differences Report
    OARG    Customs Groups
    OARI    Add-On - Company Definitions
    OASC    Account Segmentation Categories
    OASG    Account Segmentation
    OAT1    Blanket Agreement - Rows
    OAT2    Blanket Agreement - Details
    OAT3    Item Details: Activity
    OAT4    Blanket Agreement - Recurring Transactions
    OATC    Attachments
    OBAT    Bin Location Attribute
    OBBI    Brazil Beverage Indexer
    OBBQ    Item - Serial/Batch - Bin Accumulator
    OBCA    Bank Charges Allocation Codes
    OBCD    Bar Code Master Data
    OBCG    Bank Charge for Bank Transfers
    OBDC    B1i DI Configuration
    OBFC    Bin Field Configuration
    OBFI    Brazil Fuel Indexer
    OBGD    Budget Cost Assess. Mthd
    OBGS    Budget Scenario
    OBGT    Budget
    OBIN    Bin Location
    OBMI    Brazilian Multi-Indexer
    OBNH    Bank Statement Header
    OBNI    Brazil Numeric Indexer
    OBNK    External Bank Statement Received
    OBOC    External Bank Operation Code Category
    OBOD    BIOD Master Data
    OBOE    Bill of Exchange for Payment
    OBOS    Box Set Definition
    OBOT    Bill Of Exchang Transaction
    OBOX    Box Definition
    OBPL    Business Place
    OBPP    BP Priorities
    OBSI    Brazil String Indexer
    OBSL    Warehouse Sublevel
    OBST    BoE Stamp Tax
    OBTC    Internal Bank Operation Codes
    OBTD    Journal Vouchers List
    OBTF    Journal Voucher Entry
    OBTL    Bin Transaction Log
    OBTN    Batch Numbers Master Data
    OBTQ    Batch No. Quantities
    OBTW    Batch Attributes in Location
    OBVL    Serial Numbers and Batch Valuation Log
    OCBI    Central Bank Ind.
    OCCD    Cargo Customs Declaration Numbers
    OCCS    Cycle Count Determination
    OCCT    Cost Center Type
    OCDC    Cash Discount
    OCDP    Closing Date Procedure
    OCDT    Credit Card Payment
    OCFH    Cash Flow Statement History
    OCFP    CFOP for Nota Fiscal
    OCFT    Cash Flow Transactions - Rows
    OCFW    Cash Flow Line Item
    OCHD    Checks for Payment Drafts
    OCHF    312
    OCHH    Check Register
    OCHO    Checks for Payment
    OCHP    India Chapter ID
    OCIF    Configuration of Intrastat Fields
    OCIG    CIG Codes
    OCIN    A/R Correction Invoice
    OCIP    Configuration of Integration Packages
    OCLA    Activity Status
    OCLG    Activities
    OCLO    Meetings Location
    OCLS    Activity Subjects
    OCLT    Activity Types
    OCMN    Customized Menu
    OCMT    Competitors
    OCNA    CNAE Code
    OCNT    Counties
    OCOG    Commission Groups
    OCPC    Quick Copy Config.
    OCPI    A/P Correction Invoice
    OCPL    Quick Copy Log Manager
    OCPN    Campaign
    OCPR    Contact Persons
    OCPT    Cockpit Main Table
    OCPV    A/P Correction Invoice Reversal
    OCQG    Card Properties
    OCR1    Distribution Rule - Rows
    OCRB    BP - Bank Account
    OCRC    Credit Cards
    OCRD    Business Partner
    OCRG    Card Groups
    OCRH    Credit Card Management
    OCRN    Currency Codes
    OCRP    Payment Methods
    OCRT    CRDB Tables Tree List
    OCRV    Credit Payments
    OCRY    Countries
    OCSC    Crystal Server Configuration
    OCSI    A/R Correction Invoice
    OCSN    Certificate Series
    OCSQ    Column Sequences
    OCST    States
    OCSV    A/R Correction Invoice Reversal
    OCTG    Payment Terms
    OCTR    Service Contracts
    OCTT    Contract Template
    OCUC    CUS Configuration
    OCUL    Customer Usage Statistics Log
    OCUP    CUP Codes
    OCYC    Cycle
    ODAB    Dashboard
    ODAR    Data Archiving
    ODBN    Bat. Nos - Draft - Master Data
    ODBW    Batch Draft Attribs in Locat.
    ODCC    Dashboard Cache Configuration
    ODCI    Intrastat Configuration
    ODDG    Withholding Tax Deduction Groups
    ODDT    Withholding Tax Deduction Hierarchy
    ODGL    Deduction Group List
    ODGP    Document Generation Parameter Sets
    ODIM    Cost Accounting Dimension
    ODLL    Bar Code Algorithm File
    ODLN    Delivery
    ODMC    GL Account Determination - Criteria
    ODMW    Data Migration
    ODNF    DNF Code
    ODOR    Doubtful Debts
    ODOW    Data Ownership - Objects
    ODOX    Data Ownership - Exceptions
    ODPA    Fixed Asset Depreciation Areas
    ODPI    A/R Down Payment
    ODPO    A/P Down Payment
    ODPP    Depreciation Type Pools
    ODPS    Deposit
    ODPT    Postdated Deposit
    ODPV    Fixed Assets Depreciation Value
    ODRF    Drafts
    ODRN    Depreciation Run
    ODSC    Bank Codes
    ODSN    SNs - Draft - Master Data
    ODSW    SN Draft Attribs in Location
    ODTP    Fixed Assets Depreciation Types
    ODTY    BoE Document Type
    ODUN    Dunning Letters
    ODUT    Dunning Terms
    ODWZ    Dunning Wizard
    OECDW    ECD Wizard
    OECM    Electronic Communication Types or Protocols
    OEDG    Discount Groups
    OEI1    Outgoing Excise Invoice - Rows
    OEI10    Outgoing Excise Invoice - Row Structure
    OEI11    OEI - Drawn Dpm Detail
    OEI12    Outgoing Excise Invoice - Tax Extension
    OEI13    Outgoing Excise Invoice Rows - Distributed Expenses
    OEI14    Outgoing Excise Invoice - Assembly - Rows
    OEI15    OEI - Drawn Dpm Applied
    OEI16    Outgoing Excise Invoice - SnB properties
    OEI17    Outgoing Excise Invoice - Import Process
    OEI18    Outgoing Excise Invoice - Export Process
    OEI19    Outgoing Excise Invoice - Bin Allocation Data
    OEI2    OEI - Freight Rows
    OEI20    Intrastat Expenses
    OEI3    OEI - Freight
    OEI4    Outgoing Excise Invoice - Tax Amount per Document
    OEI5    Outgoing Excise Invoice - Withholding Tax
    OEI6    Outgoing Excise Invoice - Installments
    OEI7    Delivery Packages - Outgoing Excise Invoice
    OEI8    Outgoing Ex

    Hi,
    You should post as "Write document" or "Write a blog post" option not as discussion.
    Thanks & Regards,
    Nagarajan

  • Accessing PL/SQL table in SQL query

    Hello,
    Is it possible to use plain SQL to query PL/SQL table? In my case this table is returned by UTL_HTTP.REQUEST_PIECES function, which is defined as:
    create or replace package utl_http is
    type html_pieces is table of varchar2(2000) index by binary_integer;
    function request_pieces (url in varchar2,
    max_pieces natural default 32767)
    return html_pieces;
    pragma restrict_references (request_pieces, wnds, rnds, wnps, rnps);
    Generally, I want to access chunks of external data for comparison without using PL/SQL. Thanks ahead for ideas. Ideally, I need working example because my attempts to use TABLE & CAST failed.

    I was going to suggest you could try and create your own wrapper around utl_http and use a database type, but then I remembered this excellent thread which covers it better than I ever could - Billy, hope you don't mind passing on your good work!
    Re: Error using UTL_HTTP over HTTPS

  • How to read excel file in document library and store excel content in sql table

    Hello,
    Can anyone help me how to read the excel file present in document library and store the content inside excel into sql table?
    Please let me know the ways to acheive this. Feel free to give your suggestions.
    Thanks,
    Cool Developer

    Hi!
    this code i have written becuase i donot find any soltions on net for this , u can try with this . :)
    System.Data.OleDb.
    OleDbConnection ExcelConnection = null;
    FileMode fileMode;
    string filePath = ConfigurationManager.AppSettings["TempLoaction"] + "\\" + fileName;
    using (SPSite _site = new SPSite(SPContext.Current.Web.Url))
    using (SPWeb _web = _site.OpenWeb())
    string docLibrary = ConfigurationManager.AppSettings["DocumentLibrary"];
    SPFile _file = _web.GetFile("/" + docLibrary + "/" + fileName);
    fileMode =
    FileMode.Create;
    byte[] byteArray = _file.OpenBinary();
    MemoryStream dataStream = new MemoryStream(byteArray);
    Stream stream = dataStream;
    using (FileStream fs = File.Open(filePath, fileMode))
    byte[] buffer = new byte[4096];
    int bytesRead;
    while ((bytesRead = stream.Read(buffer, 0, buffer.Length)) != 0)
    fs.Write(buffer, 0, bytesRead);
    fs.Close();
    //Create the Connection String
    try
    string ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;
    Data Source ='"
    + filePath + "'; Extended Properties=Excel 5.0";
    //Create the connection
    ExcelConnection =
    new System.Data.OleDb.OleDbConnection(ConnectionString);
    //create a string for the query
    string ExcelQuery;
    //Sheet1 is the sheet name
    //create the query:
    //read columns from the Excel file
    ExcelQuery =
    "Select * from [Sheet1$]"; // from Sheet1";
    //use "Select * ... " to select the entire sheet
    //create the command
    System.Data.OleDb.
    OleDbCommand ExcelCommand = new System.Data.OleDb.OleDbCommand(ExcelQuery, ExcelConnection);
    //Open the connection
    ExcelConnection.Open();
    //Create a reader
    System.Data.OleDb.
    OleDbDataReader ExcelReader;
    ExcelReader = ExcelCommand.ExecuteReader();
    //For each row after the first
    while (ExcelReader.Read())
    thanks,
    kshitij

  • PL/SQL TABLE AS A PARAMETER TO PSP

    Hello !
    In a PSP application one of the pages is retrieving rows more than 10, and the limitation for the same is to display only 10 rows a page. Same can be done using OWA_UTIL but only if you are having a query to pass as one of the parameters.
    I'm processing a PL/SQL block and storing the outcome in a PL/SL table. After showing 10 rows of a table on the first screen, would like to pass the PL/SQL table as a parameter to other .PSP so that I can display another set of 10 out there. The calling page is not getting compiled if passed a PL/SQL table as a parameter flashing an error 'number or type mismatch'.
    regards,
    [email protected]

    user445394,
    Have you looked at the collections examples on this Web page:
    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/jdbc20/jdbc20.html
    Good Luck,
    Avi.

  • Can't update a sql-table with a space

    Hello,
    In a transaktion I'm getting some Values from a SAP-ERP System via JCO.
    I update a sql-table with this values with a sql-query command.
    But sometimes the values I get from SAP-ERP are empty (space) and I'm not able to update the sql-table because of a null-value exception. (The column doesn't allow null-values). It seems that MII thinks null and space are the same.
    I tried to something like this when passing the value to the sql-query parameter but it didn't work:
    stringif( Repeater_Result.Output{/item/SCHGT} == "X", "X", " ")
    stringif( Repeater_Result.Output{/item/SCHGT} == "X", "X", " ")
    this works but I don't want to have a "_"
    stringif( Repeater_Result.Output{/item/SCHGT} == "X", "X", "_")
    Any suggestions?
    thank you.
    Matthias

    The problem is Oracle doesn't know the space function. But it knows a similar function: NVL --> replaces a null value with something else. So this statement works fine for me:
    update marc set
    LGort = '[Param.3]',
    dispo = '[Param.4]',
    schgt = NVL('[Param.5]', ' '),
    dismm = '[Param.6]',
    sobsl = NVL('[Param.7]',' '),
    fevor = '[Param.8]'
    where matnr = '[Param.1]' and werks = '[Param.2]'
    If Param.5 or Param.7 is null Oracle replaces it with a space in every other case it is the parameter itself.
    Christian, thank you for your hint with the space function. So I remembered the NVL-function.
    Regards
    Matthias

  • PL/SQL TABLE AS OUT ON PROCEDURE CALL AND JDBCTHIN(NEED HELP

    How can I pass pl/sql record in and out
    and pl/sql tables in out thru a pl/sql procedure using jdbc with
    the zip file of 816classes12.zip...
    I have tried everything I know...
    I know the procedure is working, others are using it with in
    Oracle...
    I need to use the information it generates.
    here is what I have so far...
    try
    Class.forName ("oracle.jdbc.driver.OracleDriver");
    DriverManager.registerDriver (new
    oracle.jdbc.driver.OracleDriver());
    oracle.jdbc.driver.OracleConnection conn =
    (oracle.jdbc.driver.OracleConnection)
    DriverManager.getConnection ("jdbc:oracle:thin:@--","NA","NA");
    // SQL92 SyntaxCallableStatement
    oracle.jdbc.driver.OracleCallableStatement cstmt =
    (oracle.jdbc.driver.OracleCallableStatement)conn.prepareCall
    ("{call cbmd_proposal_PKG.DefaultTerms (?,?,?,?)}" ) ;
    cstmt.setString(1,"5118");
    cstmt.setString(2,"3");
    cstmt.registerOutParameter
    (2,oracle.jdbc.driver.OracleTypes.NUMBER);
    cstmt.registerOutParameter
    (1,oracle.jdbc.driver.OracleTypes.ARRAY,"");
    cstmt.execute();
    catch(Exception e)
    System.err.println(e.toString());
    e.printStackTrace();
    null

    The "X" in the second registerOutParameter is the type name which
    you have created in oracle DB.
    eg. if you have created a nested table
    create Type integer_table is table of number(10);
    then "X" = "INTEGER_TABLE" and it has to be in caps
    and other thing to keep in mind is that it only works with nested
    table or varray and not with pl/sql table.
    Al Pivonka (guest) wrote:
    : How can I pass pl/sql record in and out
    : and pl/sql tables in out thru a pl/sql procedure using jdbc
    with
    : the zip file of 816classes12.zip...
    : I have tried everything I know...
    : I know the procedure is working, others are using it with in
    : Oracle...
    : I need to use the information it generates.
    : here is what I have so far...
    : try
    : Class.forName ("oracle.jdbc.driver.OracleDriver");
    : DriverManager.registerDriver (new
    : oracle.jdbc.driver.OracleDriver());
    : oracle.jdbc.driver.OracleConnection conn =
    : (oracle.jdbc.driver.OracleConnection
    : DriverManager.getConnection
    ("jdbc:oracle:thin:@--","NA","NA");
    : // SQL92 SyntaxCallableStatement
    : oracle.jdbc.driver.OracleCallableStatement cstmt =
    : (oracle.jdbc.driver.OracleCallableStatement)conn.prepareCall
    : ("{call cbmd_proposal_PKG.DefaultTerms (?,?,?,?)}" ) ;
    : cstmt.setString(1,"5118");
    : cstmt.setString(2,"3");
    : cstmt.registerOutParameter
    : (2,oracle.jdbc.driver.OracleTypes.NUMBER);
    : cstmt.registerOutParameter
    (1,oracle.jdbc.driver.OracleTypes.ARRAY,"X");
    : cstmt.execute();
    : catch(Exception e)
    : System.err.println(e.toString());
    : e.printStackTrace();
    : The "X" in the second registerOutParameter is still unknown to
    : me.
    : The JavaDoc for the
    OracleCallableStatement.registerOutParameter
    : is not clear.
    : Can any One help simplify this...
    : Thanks
    null

  • How to retrieve the values from PL/SQL table types.

    Hi Every one,
    I have the following procedure:
    DECLARE
    TYPE t1 IS TABLE OF emp%ROWTYPE
    INDEX BY BINARY_INTEGER;
    t t1;
    BEGIN
    SELECT *
    BULK COLLECT INTO t
    FROM emp;
    END;
    This procedure works perfectly fine to store the rows of employee in a table type. I am not able to retrieve the values from Pl/SQL table and display it using dbms_output.put_line command.
    Can anybody help me please!!!!!
    Thanks
    Ahmed.

    You mean, you can't add this
    for i in t.first..t.last loop
    dbms_output.put_line(t(i).empno||' '||t(i).ename||' '||t(i).job);
    end loop;or you can't add this
    set serveroutput onor maybe, you are working in third party application where dbms_output is not applicable at all?
    You see, not able like very similar it is not working - both are too vague...
    Best regards
    Maxim

  • Problem with pl/sql table data type

    hai friends,
    i have one procedure it has some in parameters and one out parameter which fetches values to front end.
    But the out parameter will be pl/sql table data type.
    if it is ref cursor
    then i declared as
    var x refcursor;
    exec procedure_name(1,:x);
    it is ok.
    but for pl/sql table data type is out parameter then what i will do in the prompt .
    give me syntax and clarify my doubt.
    advanced thanks...
    madhava

    The SQL*Plus VARIABLE statement does not support user-defined types, hence it cannot support nested tables. It can support cursors because they can be weakly typed (so we can use the one SQL*Plus VAR to hold any shape of resultset). Nested tables are strongly typed; SQL*Plus is a relatively stupid interface and cannot be expected to understand UDT.
    So, it you want to use nested tables as output you'll need to code a wrapping procedure that can understand your nested table type and handle it accordingly.
    Sorry.
    Cheers, APC

  • Pl/sql table - row type records

    Hi,
    Is there any limit on the number of records that a pl/sql table (row type) can accomodate.Iam using oracle 10g

    user11200499 wrote:
    I have gone thru that url, nothing on the maximum number of records that can be present in pl/sql table is given there. Will be very helpful if you can let me know if there is any such limitation.There is no such thing as a PL/SQL "+table+". A table, in Oracle terminology, means colums and rows and indexes and the ability to scale data, effectively read and process and filter and aggregate data.
    A so-called PL/SQL "+table+" is nothing at all like this.
    The correct term for it, and used in all other programming languages, are arrays (procedural term) and collections (object orientated term).
    An array/collection is a local memory structure in the unit of code. In PL/SQL, that means PGA (process global area) memory. And as this uses server memory, you should not abuse it and only use as much that is truly needed.
    Make a PL/SQL array/collection too large, and PGA grows.. and can have a very negative impact on performance. It can even cause the server to crawl to halt, where you will struggle to enter a commandline command on the server as it is spending 99% of CPU time trying to deal with memory requests and page swapping.
    So what do we then use arrays/collections for in PL/SQL?
    For the very same reason we use in any other programming language - dealing with managing local programming data in a more effective memory structure. Such as bulk processing when requiring a buffer variable that can be passed to and from the PL and SQL engines.
    This does NOT mean using it as you would use it as if it is a SQL table. As it is not.
    So to answer your question of how large a PL/SQL array or collection can be? That depends entirely on the problem you are trying to solve. If it is for example bulk processing, then typically a collection of a 100 rows provides the best balance between the amount of (expensive) PGA memory being used versus the increase in performance by reducing context switching between the PL and SQL engines.
    If the rows are quite small, perhaps even a 1,000 row collection. More than that seldom decreases context switching enough to justify the increase in expensive PGA.
    So what should then be used to store larger data structures in PL/SQL? GTT or Global Temporary Tables. As this is a proper SQL table structure. Can be indexed. Natively supports SQL. Can scale with data volumes.
    And most importantly, it does not consume dedicated process memory and will not blow server memory.

  • Report from PL/SQL Table

    Thanks for answer to my first question. Now I have another problem.
    Is there any way to print a report based on virtual table, which is created during some Pl/SQL procedure and can't be easily decribed by Select statement

    SELECT FROM PL/SQL TABLE IN ORACLE REPORTS 6I
    The requirement is to populate a table and then select from that table in a report. The typical solution is to
    populate a database table, but for situations where that is undesirable there is a way to select from a PL/SQL
    table.
    For example - for each employee we want to populate a PL/SQL table and then select from that table.
    I used the following records in the emp table:
    INSERT INTO Emp VALUES(123,'Bob','Sales',555,'28-JAN-79',35000,12,30);
    INSERT INTO Emp VALUES(321,'Sue','Finance',555,'12-MAY-83',42000,12,10);
    INSERT INTO Emp VALUES(234,'Mary','Account',555,'14-AUG-82',33000,12,20);
    INSERT INTO Emp VALUES(623,'Joe','Sales',555,'28-JAN-79',35000,12,30);
    INSERT INTO Emp VALUES(621,'Jim','Finance',555,'12-MAY-83',42000,12,10);
    INSERT INTO Emp VALUES(634,'Jane','Account',555,'14-AUG-82',33000,12,20);
    INSERT INTO Emp VALUES(723,'Fred','Sales',555,'28-JAN-79',35000,12,30);
    INSERT INTO Emp VALUES(721,'Meg','Finance',555,'12-MAY-83',42000,12,10);
    INSERT INTO Emp VALUES(734,'Jill','Account',555,'14-AUG-82',33000,12,20);
    =============================================================================================
    Step 1: Create a package spec in the report:
    PACKAGE pkg_table IS
    TYPE t_rec IS RECORD (
    field1 NUMBER(6),
    field2 VARCHAR2(30));
    TYPE t_tab IS TABLE OF t_rec INDEX BY BINARY_INTEGER;
    gv_tab t_tab;
    FUNCTION populate (
    p_empno NUMBER) RETURN NUMBER;
    END;
    Step 2: Create the package body:
    PACKAGE BODY pkg_table IS
    FUNCTION populate (
    p_empno NUMBER) RETURN NUMBER IS
    BEGIN
         gv_tab.DELETE;
         -- populate table as required - for demo purposes put in anything
         FOR lv_ind IN 1..MOD(p_empno,20) LOOP
              gv_tab(lv_ind).field1 := lv_ind;
              gv_tab(lv_ind).field2 := 'row '||TO_CHAR(lv_ind)||' for emp '||TO_CHAR(p_empno);
         END LOOP;
         RETURN gv_tab.COUNT;
    END populate;
    END;
    Step 3: Create the master query:
    SELECT empno,
    ename
    FROM emp
    Step 4: Add a formula column CF_populate to the master query that does:
    function CF_populateFormula return Number is
    -- for each emp fetched this formula will repopulate the PL/SQL table
    -- and return the number of records in the table
    begin
    return pkg_table.populate(:empno);
    end;
    Step 5: Create the detail query:
    -- we need to join this to the master and then ensure that for each
    -- empno there are as many records fetched as there will be
    -- records in the PL/SQL table
    SELECT e1.empno,rownum
    FROM emp e1, emp e2, emp e3
    WHERE rownum <= :CF_populate
    Step 6: Add formula columns to the detail query for each of the fields in the
    PL/SQL table we want to display:
    CF_Field1:
    function CF_field1Formula return Number is
    begin
    return pkg_table.gv_tab(:rownum).field1;
    end;
    CF_Field2:
    function CF_field2Formula return Varchar2 is
    begin
    return pkg_table.gv_tab(:rownum).field2;
    end;
    Step 7: Create the repeating frame and layout items to display the formula columns.
    =============================================================================================
    The same technique can be used to populate a master query. In a report level formula column
    CF_Populate populate the PL/SQL table as required. In the master query we just need the rownum:
    SELECT rownum
    FROM emp, emp, emp
    WHERE rownum <= :CF_Populate
    Add the formula columns to display Field1 and Field2.
    =============================================================================================
    Hugh Nelson
    26/04/2005

  • REPORT ON PL/SQL TABLE OF RECORDS  on 6i & 9i

    HELLO ALL,
    I Want to know if it is posible to build a report on pl/sql
    table of records in developer 6i, or in 9i.
    thanks

    This should not happen. If you are not sure that your stored procedure is bug-free, you could generate and use stored procedures using my SQLPlusPlus and give it a try.
    You can email me directly if your problem still not gets solved.
    regards,
    M. Armaghan Saqib
    +---------------------------------------------------------------
    | 1. SQL PlusPlus => Add power to SQL Plus command line
    | 2. SQL Link for XL => Integrate Oracle with XL
    | 3. Oracle CBT with sample GL Accounting System
    | Download free: http://www.geocities.com/armaghan/
    +---------------------------------------------------------------
    null

  • PL/SQL Table use in report region query

    Hello,
    I have a package function which return pl/sql table. I want to create a report region based on this pl/sql table. Is it possible to do this kind of report in HTMLDB?
    Please guide me in this area.
    Thanks
    HA

    The htmldb_collections API (apec_collections in 2.2) is a very useful method for rendering reports and one I have used extensivly in the past.
    Once created and populated you can reference your collection as if it were a SQL table i.e.
    Select c001, c002, c003
    from htmldb_collections
    where collection_name = 'MY_COLLECTION';
    You can absolutly base an Apex Report region on collections. Just treat them as another table that you can select from, join to others etc.
    In order to utilise this you must do the following:
    1) Create your collection:
    note that collections only persist for the duration of your session and you can only see the data you inserted into the collection. Also I would create this collection as the Database user who owns the Apex Workspace
    htmldb_collection.create_or_truncate_collection ('MY_COLLECTION');
    2) Populate your collection:
    In your case I would set a loop construct that parses through your pl/sql table and assign all values as described below. I assumed that my_plsql_tab has 3 columns called Val1, Val2, Val3
    FOR x IN 1..my_plsql_tab.count
    LOOP
    htmldb_collection.add_member (p_collection_name => 'MY_COLLECTION',
    p_c001 => my_plsql_tab(x).val1,
    p_c002 => my_plsql_tab(x).val2,
    p_c003 => my_plsql_tab(x).val3
    END LOOP;
    Note that you can have upto 60 elements in your collection.
    3) Access your collection:
    Select c001, c002, c003
    from htmldb_collections
    where collection_name = 'MY_COLLECTION';
    This quesry can then form the source of your sql report region.
    Hope all that helps
    Duncan

  • Passing parameters to PL/SQL table types

    Hi Everybody,
    I have one question about passing PL/SQL tables types and tabs as IN parameter in procedure.I am working in 11.2.0.2.0 environment. I am stuck on how to pass those values to procedure.Please find below more details:
    Table 1:
    CREATE TABLE ITEMS
    ITEM_ID VARCHAR2(40 BYTE) NOT NULL,
    ITEM_NAME VARCHAR2(40 BYTE),
    SERIAL NUMBER(2),
    ADDED_ON DATE);
    Table 2:
    CREATE TABLE ITEM_ACTIVITY_INFO
    ITEM_ID VARCHAR2(40 BYTE) NOT NULL,
    ACCOUNT_TYPE VARCHAR2(1 BYTE),
    ID_NUMBER NUMBER(3),
    ACTIVATION_DATE DATE);
    Table 3:
    CREATE TABLE ITEM_GROUP
    GROUP_ID NUMBER(2) NOT NULL,
    ITEM_ID VARCHAR2(40 BYTE),
    GROUP_TYPE VARCHAR2(20 BYTE),
    GROUP_DATE DATE);
    Table 4:
    CREATE TABLE ITEM_ADDRESS
    GROUP_ID NUMBER(2) NOT NULL,
    NAME VARCHAR2(60 BYTE),
    ADDRESS VARCHAR2(100));
    Following types are created:
    CREATE OR REPLACE TYPE ITEMS_TYPE AS OBJECT
    ITEM_ID VARCHAR2(40 BYTE),
    ITEM_NAME VARCHAR2(40 BYTE),
    SERIAL NUMBER(2),
    ADDED_ON DATE);
    CREATE OR REPLACE TYPE ITEM_ACTIVITY_TYPE AS OBJECT
    ITEM_ID VARCHAR2(40 BYTE),
    ACCOUNT_TYPE VARCHAR2(1 BYTE),
    ID_NUMBER NUMBER(3),
    ACTIVATION_DATE DATE);
    CREATE OR REPLACE TYPE ITEM_GROUP_COMP_TYPE AS OBJECT
    GROUP_ID NUMBER(2) NOT NULL,
    ITEM_ID VARCHAR2(40 BYTE),
    GROUP_TYPE VARCHAR2(20 BYTE),
    GROUP_DATE DATE
    ITEM_ADDRESS_IN ITEM_ADDRESS_TYPE);
    CREATE OR REPLACE TYPE ITEM_ADDRESS_TYPE AS OBJECT
    GROUP_ID NUMBER(2),
    NAME VARCHAR2(60 BYTE),
    ADDRESS VARCHAR2(100));
    CREATE OR REPLACE TYPE ITEM_GROUP_COMP_TAB AS TABLE OF ITEM_GROUP_COMP_TYPE;
    Create or replace procedure ITEM_ADD_CHANGE(
    ITEM_IN IN ITEMS_TYPE,
    ITEM_ACTIVITY_IN IN ITEM_ACTIVITY_TYPE,
    ITEM_GROUP_IN IN ITEM_GROUP_COMP_TAB,
    ITEM_OUT IN OUT ITEMS.ITEM_ID%TYPE);
    Above are the paramteres we are passing to procedure.
    I need help in how to pass parameters to above procedure. All comments and responses will be highly appreciated. Thanks everyone for going through the post. Please let me know if more more information is required on this problem.
    Regards
    Dev

    Billy  Verreynne  wrote:
    Types used in this fashion, only make sense if the table is based on the type. It makes very little sense to have a table structure and then to duplicate the structure using a type.
    The 2 structures may be defined the same. But they are NOT interchangeable and requires one to be converted to the other to use. This is not sensible in my view. It is far easier in that case to simply use the PL/SQL macro +%RowType+ to create a duplicate structure definition - one that can natively be used for touching that table, without conversions required.
    If you do want to use types, define the type, then define the table of that type, adding the required constraints (pk, fk, not null, check) to the table's definition.Billy:
    Just curious, why do you say it makes very little sense to have a type modeled on a table? I do that a lot. In my case, I am getting the values from an external program, not building them manually, but it makes a lot of sense to me.
    One application where I do this a lot has a java front-end that parses HL7 messages. Each message contains at least minimal information about a variable number of entities (and often several rows for an entity) in the database, and must be processed as a single atomic trasnaction. So, rather than have potentially hundreds of parameters to the "main" driver procedures for different message types I created a set of types more or less identical to the tables representing the entities. The java program parses the mesasge and populates the type, then calls the appropriate stored procedure for the message type passing in the populated types. My stored procedure then does inserts/updates or deletes as appropriate over potentially dozens of tables.
    John

Maybe you are looking for

  • Help with Creative MediaSource 5 Organi

    i have a zen plus4 gb that i bought 2nd handi am able to use media player 0 and sync the music but when i try to use Creative MediaSource 5 Organizer and sync the music itsays " no creative mp3 player connected please connect and try again i download

  • IDoc Errors in ECC

    Hi Experts, what kind of IDoc Errors can occur in ECC for the scenario : ECC sending <b>PO</b> to Ariba(E-commerce hub, using third party adapter) and in receiving back <b>Order confirmation</b> from it. Thank you, <b>MK</b>

  • Camera Pod Problem: Preview video is ok, Shared Video is Black Screen

    We have several rooms with a USB or Firwire capture device and an NTSC PTZ camera feeding composite video. For example, we have a Startech SVID2USB23 USB Composite Video Capture device with a Sony EVI-D70 PTZ camera. The problem is that we can "Start

  • There is an X through my battery

    There is an "x" through my battery and I do not know what happened. It was working fine when I opened it this morning and it was at 59% and then all of a sudden the screen went black and so I restarted it and then when it all came back on, the "x" wa

  • Jpegs not converting in color....

    I have Acrobat Standard 8 and use the printer driver to created PDFs of appraisal reports that I do. When I create these PDFs through the Acrobat driver, the photos print in color, but the maps, etc. print in black & white with horrible resolution. B