Not able to insert data in a table...using MS SQL 2000

Hi guys,
Since this morning, for some reasons that I don't know, I can't insert data into my database. This is piece of my code:
Statement statement1 = connection.createStatement();
String sql = "SELECT PeopleID, LastName FROM People" + " WHERE LastName='" + lastName + "'";
ResultSet resultSet = statement1.executeQuery(sql);
and this is the error message I'm having:
Error executing the SQL statement[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name 'People'.
Any idea on how to fix that...?? I played around with the database to make sure that I have all the right permissions, still it doesn't work...
Thanks...

How do I check to make sure that it has an object.It doesn't. Period. That's what the error message is saying.
I'm able to query that table People and I get a
result back from it.Then whatever tool you're using to query that table, is connected to a different database (and/or connected as a different user) than the one your code is trying to connect to.

Similar Messages

  • Not able to see data in Pivot table

    Hi,
    I have a issue with pivot table i have a column which displays values 0 and 1 and another column called month when i am placing this month column as a section and values column as a measure i am not seeing any values means i can see the month as header but instead showing 0 or 1 its showing blank columns. previously i created similar kind of table it worked but at that time values column data type is number this time its char. can anybody help me out how i can see the data in the pivot table. i already tried converting this column to number but still i am not able to see data in that values column.
    Thanks

    Hi copter,
    Place the month column in rows and value column in measure section and check if results are coming.If still it doesnt come i suppose you dint apply aggregation rules to value column.In pivot view click values column and aggregate by /select min or max or either server complex and check your results.
    (I suppose your aggregation rules is default)....Correct this one and you can place it in sections as per your requirement.
    Cheers,
    KK

  • Not able to display data in separate columns using Unicode encoding

    Hi,
    Iam using Unicode encoding in my Java appln to support Japanese characters while downloading CSV report. But using the Unicode encoding displays all data in the first column of Excel sheet.
    Please let me know how to display data in different columns using Unicode encoding in Excel sheet.
    This is an urgent need. Please help me out.

    Hi,
    I have no problem with item :P15_EV_LCL this is having a value my probem here is i am using java script to display the value in different color based on the condtion case
    eg:
    select
    case
    TRUNC((
    ( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
    ),2)
    = :P15_EV_LCL
    then
    span style="background-color:lightgreen"
    || TRUNC((
    ( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
    ),2) || '%' || /span
    else
    span style="background-color:yellow"
    || TRUNC(
    ( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
    ),2) || '%' || /span
    end "Effort"
    from actuals Z
    If i dont use this <Span style="Background-color:color"> i am able to generate data in excel sheet if i use this color coding i am not able to get data in spread sheet.
    Please suggest
    Thanks
    Sudhir
    Edited by: Sudhir_N on Mar 23, 2009 10:00 PM

  • Sql Loader by using shell script, not able to insert data

    Hi,
    I am trying to dump the data by using shell script.(in shell script i am having sqlldr command)(its a host excutable method cocurrent program)
    When i am loading the data, by placing my files(.ctl,.prog,.csv,symbolink file for .prog) in $Custom_top/bin, it is loading exactly. 17000 records inserted.
    But if i am loading the data by placing my files in $custom_top/custom_folders. unable to insert total data. only 43 records inserting.
    Please any one can help me.
    Thanks in advance.
    Rama.

    Srini, Thanks a lot for ur reply,
    Oracle Apps version R12,
    Microsoft windows XP profissional
    Version 2002 service Pack 3
    My Control file Script is:
    load data
    infile '$XADP_TOP/data/CPIU/in/XXOKS_Price_Increase.csv'
    append
    into table XXOKS_CONTRACT_PRICE_INCR_DTLS
    fields terminated BY ',' optionally enclosed by '"'
    TRAILING NULLCOLS
    (EXCLUSION_FLAG,
    LEGACY_NUMBER,
    CUSTOMER_NUMBER,
    CUSTOMER_NAME,
    REQUEST_ID,
    CONTRACT_NUMBER,
    CONTRACT_START_DATE,
    CONTRACT_END,
    REQUEST_LINE_ID,
    LINE_START_DATE,
    LINE_END_DATE,
    ITEM_NUMBER,
    ITEM_DESCRIPTION,
    UNIT_PRICE,
    QTY,
    NEW_UNIT_PRICE,
    LINE_AMOUNT,
    NEW_LINE_AMOUNT,
    PRICE_INCREASED_DATE,
    PERCENTAGE_INCREASED,
    ORIGINAL_CONTRACT_AMOUNT,
    NEW_CONTRACT_AMOUNT,
    PRICE_INCREASE_AMOUNT)
    My .prog File is: Please fidn that i created symbolink file also for my .prog.
    if [ -z $XADP_TOP ];then
    echo "XADP_TOP environment variable is not set!"
    exit 1
    fi
    cd $XADP_TOP/data/CPIU/in
    DATE=`date +%y%m%d:%H%M`
    i_program_name="$0"
    i_ora_pwd="$1"
    i_user_id="$2"
    i_user_name="$3"
    i_request_id="$4"
    i_ftp_host_name="$5"
    i_ftp_user_name="$6"
    i_ftp_user_password="$7"
    ftp_prog() {
    # FTP Function to reuse the FTP Commands
    if [ $# -ne 6 ];then
    echo "Usage : ftp_prog <Hostname> <User name> <Password> <Remote Directory> <command> <filename>"
    exit 2
    fi
    l_ftp_host_name="$1"
    l_ftp_user_name="$2"
    l_ftp_user_password="$3"
    l_ftpdir="$4"
    l_ftp_command="$5"
    l_ftp_filename="$6"
    ftp -v -n ${l_ftp_host_name} <<EOF
    user ${l_ftp_user_name} ${l_ftp_user_password}
    ascii
    cd ${l_ftpdir}
    ${l_ftp_command} ${l_ftp_filename}
    quit
    EOF
    #exit $?
    # setting the ftp directory
    #ftpdir="/`echo ${TWO_TASK:-$ORACLE_SID}|tr "[A-Z]" "[a-z]"`/CPIU"
    ##ftpdir="/FinTEST/quoting/PS/ar"
    ftpdir="$XADP_TOP/data/CPIU/in"
    # setting the in directory and out directory
    indir="$XADP_TOP/data/CPIU/in"
    outdir="$XADP_TOP/data/CPIU/out"
    ftp_prog ${i_ftp_host_name} ${i_ftp_user_name} ${i_ftp_user_password} ${ftpdir} get XXOKS_Price_Increase.csv
    echo $ftpdir
    echo "Converting the data file into unix mode"
    dos2unix XXOKS_Price_Increase.csv XXOKS_Price_Increase.csv
    chmod 777 XXOKS_Price_Increase.csv
    cd $XADP_TOP/bin
    echo "Trying to excute sqlldr and entering into the into control file"
    $ORACLE_HOME/bin/sqlldr userid=$i_ora_pwd control=XXOKS_PRICE_INCR_LOAD log=$XADP_TOP/log/XXOKS_PRICE_INCR_LOAD_${DATE}.log;
    exit_status=$?
    echo "Checking the status and giving permissions to the data file which in in dir"
    if [ $exit_status -eq 0 ]; then
    cd $XADP_TOP/data/CPIU/in
         chmod 777 XXOKS_Price_Increase.csv
    echo "try to move data file into out dir"
    # Moving the file to out directory
    mv XXOKS_Price_Increase.csv ${outdir}/XXOKS_Price_Increase.csv_${DATE}
    #echo "ready to zip file in out dir step6"
    # Zipping the file
    #gzip -f ${outdir}/XXOKS_Price_Increase.csv_${DATE}
    echo "deleting the file which is in dir"
    # Deleting the file from in directory
    /bin/rm -f ${indir}/XXOKS_Price_Increase.csv
    # Deleting from the remote directory
    ftp_prog ${i_ftp_host_name} ${i_ftp_user_name} ${i_ftp_user_password} ${ftpdir} delete XXOKS_Price_Increase.csv
    echo "sqlloader finished successfully."
    else
    echo "Error in loader"
    ##echo "Loader error in Price Increase Detials File ${i_file}"
    fi
    exit $exit_status
    And My Log file Comments are
    SQL*Loader: Release 10.1.0.5.0 - Production on Thu Dec 3 01:32:08 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Control File: XXOKS_PRICE_INCR_LOAD.ctl
    Data File: /oesapp/applmgr/GIS11/apps/apps_st/appl/xadp/12.0.0/data/CPIU/in/XXOKS_Price_Increase.csv
    Bad File: XXOKS_Price_Increase.bad
    Discard File: none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array: 64 rows, maximum of 256000 bytes
    Continuation: none specified
    Path used: Conventional
    Table XXOKS_CONTRACT_PRICE_INCR_DTLS, loaded from every logical record.
    Insert option in effect for this table: APPEND
    TRAILING NULLCOLS option in effect
    Column Name Position Len Term Encl Datatype
    EXCLUSION_FLAG FIRST * , O(") CHARACTER
    LEGACY_NUMBER NEXT * , O(") CHARACTER
    CUSTOMER_NUMBER NEXT * , O(") CHARACTER
    CUSTOMER_NAME NEXT * , O(") CHARACTER
    REQUEST_ID NEXT * , O(") CHARACTER
    CONTRACT_NUMBER NEXT * , O(") CHARACTER
    CONTRACT_START_DATE NEXT * , O(") CHARACTER
    CONTRACT_END NEXT * , O(") CHARACTER
    REQUEST_LINE_ID NEXT * , O(") CHARACTER
    LINE_START_DATE NEXT * , O(") CHARACTER
    LINE_END_DATE NEXT * , O(") CHARACTER
    ITEM_NUMBER NEXT * , O(") CHARACTER
    ITEM_DESCRIPTION NEXT * , O(") CHARACTER
    UNIT_PRICE NEXT * , O(") CHARACTER
    QTY NEXT * , O(") CHARACTER
    NEW_UNIT_PRICE NEXT * , O(") CHARACTER
    LINE_AMOUNT NEXT * , O(") CHARACTER
    NEW_LINE_AMOUNT NEXT * , O(") CHARACTER
    PRICE_INCREASED_DATE NEXT * , O(") CHARACTER
    PERCENTAGE_INCREASED NEXT * , O(") CHARACTER
    ORIGINAL_CONTRACT_AMOUNT NEXT * , O(") CHARACTER
    NEW_CONTRACT_AMOUNT NEXT * , O(") CHARACTER
    PRICE_INCREASE_AMOUNT NEXT * , O(") CHARACTER
    value used for ROWS parameter changed from 64 to 43
    Table XXOKS_CONTRACT_PRICE_INCR_DTLS:
    43 Rows successfully loaded.
    0 Rows not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Space allocated for bind array: 255162 bytes(43 rows)
    Read buffer bytes: 1048576
    Total logical records skipped: 0
    Total logical records read: 43
    Total logical records rejected: 0
    Total logical records discarded: 0
    Run began on Thu Dec 03 01:32:08 2009
    Run ended on Thu Dec 03 01:32:08 2009
    Elapsed time was: 00:00:00.19
    CPU time was: 00:00:00.04
    Plz srini help me.
    Thanks in advance
    Rama..

  • Not able to insert data in database via forms

    Hi there. i have been trying to insert data into my database, which i am connected to remotely. i have written some sql code for a button.
    INSERT INTO address_repository VALUES('ADD'|| :address.address_id, :address.address_street_num,
    :address.address_street_name, :address.address_suburb, :address.address_postcode, :address.address_state, :address.address_country);
    where the above are the above are textfield items. my code compiles fine, and no errors are displayed on my form, but when i click the button, nothing happens, and the page is busy, and appears to be processing something, but does nothing.

    don't write
    INSERT INTO address_repository VALUES('ADD'|| :address.address_id, :address.address_street_num,
    :address.address_street_name, :address.address_suburb, :address.address_postcode, :address.address_state, :address.address_country);
    write
    INSERT INTO address_repository (address_id, ....., ....., .....
    VALUES('ADD'|| :address.address_id, :address.address_street_num,
    :address.address_street_name, :address.address_suburb, :address.address_postcode, :address.address_state, :address.address_country);
    if the same error is still active, then we look further, ok?

  • Inserting data into one table using another table

    Hi i have 2 tables
    CREATE TABLE N_SET
    N_ST_ID NUMBER(38) NOT NULL, ---- PK
    N_ST_NM VARCHAR2(50 BYTE) NOT NULL,
    N_ST_DSC VARCHAR2(200 BYTE),
    DFTID NUMBER ------ FK
    CREATE TABLE RZ
    NST_ID NUMBER(38) NOT NULL, ---- FK
    RID NUMBER(38) NOT NULL, --- PK
    RNM VARCHAR2(30 BYTE) NOT NULL
    I entered the data into the N_SET table using sequence in column N_ST_ID (using procedure)
    Now i need to enter the data into RZ table where NST_ID should contain the value of N_SET.N_ST_ID
    so for this i've written another procedure
    but confused how to write the select statement to retrieve the above condition..
    Could you help me in this please...

    Hi,
    I have a table Target whose structure is
    create table employee
    id VARCHAR2(20),
    name VARCHAR2(20),
    employee_seq NUMBER not null
    -- Create sequence
    create sequence test_seq
    minvalue 1
    maxvalue 999999999999999999999999999
    start with 5
    increment by 1
    nocache
    cycle;
    create table emp
    id VARCHAR2(20)
    name VARCHAR2(20)
    INSERT INTO emp
    ( id, name )
    VaLUES ( '100','test1');
    commit;
    INSERT INTO emp
    ( id, name )
    VaLUES ( '100','test2');
    commit;
    i have to insert into the TARGET table the fsa value from
    SOURCE table along with the sequence number using sequence test_seq.nextval.
    INSERT INTO employee
    ( id, name, employee_seq )
    SELECT id, ename, ( select test_seq.nextval from dual )
    FROM emp ;

  • Not able to display data in different columns using Unicode encoding

    Hi,
    Iam using Unicode encoding in my Java appln to support Japanese characters while downloading CSV report. But using the Unicode encoding displays all data in the first column of Excel sheet.
    Please let me know how to display data in different columns using Unicode encoding in Excel sheet.

    Hi Venkat,
    After extracting data into DSO check the request whether active or not.
    Check data in DSO in contents.
    If is there any restrictions on info providers in Queries.
    Let us know status clearly.......
    Reg
    Pra

  • # coming when I select data from oracle table using Native SQL

    Hi Gurus,
    I am selecting 'First name' from oracle table directly using native sql. I am fetching 65000 records but 10+ records having '#' at the end of firstname. For eg: John#.
    But oracle team couldn't find '#' in their table for those records. What could be problem?
    or what could be the character in oracle which comes as '#' in abap?
    Pls help...
    Saj

    Thanks for replies.
    My DB NLS_PARAMETER is AL32UTF8. I am able to pullout data with older version of ojdbc jar file. So I think there is no issue regarding NLS setting.
    So please guide me with proper solution as soon as possible.

  • Not able to see data in af:table unless refresh is clicked

    We have a table which already has rows. But,when we are navigating to that table jsff page,no data is shown in the table.Only we click on add '+' icon or refreshing the page,I am able to see the data. Am i missing something in jsff definition? Here is the code for jsff page.It is a customiser generated page which comes on runtime.
    <af:showDetailHeader text="#{adfBundle['oracle.apps.fnd.applcore.flex.runtime.FlexfieldResourceBundle']['FND:::FND_FFRES_oracle.apps.scm.productCatalogManagement.advancedItems.flex.egoItemEff.item.ui.bundle.d_EFF_AL_EFF_EGO_ITEM_DL_IL_PAGE_Private_PageBundleMsg#contextCode_5FAG_5FNT_5FMR_5FIL_5FMCDEF']}" id="CXTPB" contentStyle="padding:5px;" immediate="true" disclosed="true">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar"/>
    <af:toolbar id="t1"/>
    <f:facet name="legend"/>
    <f:facet name="info"/>
    <f:facet name="help"/>
    <fnd:applicationsTable tableId="ATt1" id="AT1" inlineStyle="width:99%;" deleteEnabled="#{true}" exportEnabled="#{false}" createPatternType="inline" createDisabled="#{!pageFlowScope._eff_containerBean.createPrivilegeForContext}" editDisabled="#{pageFlowScope._eff_read_only == 'Y'}" deleteDisabled="#{pageFlowScope._eff_read_only == 'Y'}" actionsMenuRendered="#{pageFlowScope._eff_read_only != 'Y'}" deleteImmediate="true" createImmediate="true">
    <f:facet name="additionalToolbarButtons"/>
    <f:facet name="additionalActionItems"/>
    <f:facet name="table">
    <af:table rows="#{bindings.ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVO.rangeSize}" fetchSize="#{bindings.ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVO.rangeSize}" emptyText="#{bindings.ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVO.viewable ? 'No data to display.' : 'Access Denied.'}" var="row" rowBandingInterval="0" value="#{bindings.ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVO.collectionModel}" selectedRowKeys="#{bindings.ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVO.collectionModel.selectedRow}" selectionListener="#{bindings.ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVO.collectionModel.makeCurrent}" rowSelection="single" id="ATt1" partialTriggers="::delete ::deleteMenuItem ::create ::createMenuItem" editingMode="clickToEdit" contentDelivery="immediate" columnStretching="last" autoHeightRows="10">
    <af:column headerText="#{bindings.ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVO.hints._mruniqkey.label}" sortProperty="_mruniqkey" sortable="false" id="effcol0">
    <af:inputText value="#{row.bindings._mruniqkey.inputValue}" label="#{bindings.ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVO.hints._mruniqkey.label}" required="#{ ( true) and pageFlowScope._eff_param2 != 'Y' }" columns="#{bindings.ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVO.hints._mruniqkey.displayWidth}" maximumLength="#{bindings.ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVO.hints._mruniqkey.precision}" shortDesc="#{bindings.ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVO.hints._mruniqkey.tooltip}" id="ecseg0" readOnly="#{ ( pageFlowScope._eff_read_only == 'Y' ) or pageFlowScope._eff_containerBean.mandatoryEffAttributes['AG_NT_MR_IL_MCDEF||_mruniqkey'] != null}" showRequired="#{ ( true) and pageFlowScope._eff_param2 != 'Y' }">
    Please help me with this if I am missing something.

    I tried with refresh from "never" to "ifNeeded" and "deferred" also,but still the problem exists. Here is the part of pagedef with the iterator binding :
    <?xml version='1.0' encoding='UTF-8'?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel" version="11.1.1.50.65" id="d_AG_NT_MR_IL_MCDEF_IL_PAGE_AL_EFF_EGO_ITEM_DL_EGO_ITEM_EFF_10010_PrivateFragPageDef" Package="pageDefs.oracle.apps.scm.productCatalogManagement.advancedItems.flex.egoItemEff.item.ui">
    <parameters>
    <parameter id="CONTEXTCODE" value="AG_NT_MR_IL_MCDEF"/>
    </parameters>
    <executables>
    <iterator Binds="Root.j_AlEffPrivateAM.j_ItemAlEffPrivateVO" DataControl="ItemAMDataControl" RangeSize="25" id="j_ItemAlEffPrivateVOIterator" Refresh="never"/>
    <accessorIterator MasterBinding="j_ItemAlEffPrivateVOIterator" Binds="ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVO" RangeSize="25" DataControl="ItemAMDataControl" BeanClass="oracle.apps.scm.productCatalogManagement.advancedItems.flex.egoItemEff.item.contexts.view.ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVO" id="ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVOIterator"/>
    </executables>
    <bindings>
    <listOfValues StaticList="false" IterBinding="ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVOIterator" id="_target_ctxt" Uses="LOV__target_ctxt">
    <AttrNames>
    <Item Value="_target_ctxt"/>
    </AttrNames>
    </listOfValues>
    <tree IterBinding="ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVOIterator" id="ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVO">
    <nodeDefinition DefName="oracle.apps.scm.productCatalogManagement.advancedItems.flex.egoItemEff.item.contexts.view.ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVO" Name="ItemEFFBAG_5FNT_5FMR_5FIL_5FMCDEFPrivateVO0">

  • Not able to insert the data in JDBC receiver

    hi Team,
    Please help me i am working on IDOC - JDBC interface i am not able to insert data into the table.
    error says that table doesn't exists, but if i check in the database the table exists..
    below is the error getting triggered.
    could not execute statement for table/stored proc."A_PORDER_REG"(structure " STATEMENT") due to
    java.sql.SQLException: ORA - 00942 table does not exist
    Thanks & Regards,
    Vishnu vardhan.

    Might be u have given table name is diffarent, table name must be match in table field of jdbc receiver structure and table name of data base tables.both places u must give the same table names . this is one reason another one u might be given jdbc structure is wrong. u must specify jdbc structure like this.
       STATEMENT
       TEST
        action(attribute) (action u specify as INSERT)
       TABLE( here  u give the table name )
    access ( below u write the fields)
    and one more is u check the receiver communication channel in that u check properly u have given jdbc drivers, connections , user name and pass word.
    check all those things definatly u wil find the error.

  • Insert data into multiple tables

    Hi all,
    I've a requirement where i need to insert data into multiple tables using PL/SQL procedure
    Procedure should have two parameters
    1. Table Name (parameter1)
    2. Data (parameter2)
    Based on these two parameters i need to insert data into table (parameter1) using data (parameter2)
    ex:
    Procedure insert_data (p_table  IN VARCHAR2
                          ,p_data   IN -- what should be the datatype?
    IS
    l_statement VARCHAR2(2000);
    BEGIN
    -- insert data into tables
    INSERT INTO p_table
    values (....);
    END insert_data;Thanks in advance!!

    BEDE wrote:
    Amen to that!
    So, I believe a better approach would be the following...
    Suppose you have N datafiles with the same structure, and you wish to insert into the database the data from all those files.
    For that, you should have a single table, named, say incoming_file_data, which should be structured more or less like below:
    create table incoming_file_data (
    filename varchar2(250) not null -- name of the file inserted from
    ,file_time timestamp -- timestamp when the data was inserted
    ,... -- the columns of meaningful data contained in the lines of those files
    );And you will insert the data from all those files in this table, having normally one transaction for each file processed, for otherwise, when shit happens, some file may only get to be partially inserted into the table...
    Maybe one good approach would be to create dynamically an external table for the file to be loaded, and then execute dynamically insert select into the table I said, so that you will have only one insert select for one file instead of using utl_file... RTM on that.If the file structures are the same, and it's just the filename that's changing, I would have a single external table definition, and use the alter table ... location ... statement (through execute immediate) to change the filename(s) as appropriate before querying the data. Of course that's not scalable if there are multiple users intenting to use this, but generally when we talk about importing multiple files, it's a one-user/one-off/once-a-day type of scenario, so multi-user isn't a consideration.

  • Insert,update and delete data in a table using webdynpro for abap

    Dear All,
    I have a requirement to create a table allowing the user to add rows in it and update a row as well as delete a row from that table.To do this I guess I have to make use of ALV.But using ALV I am not able to enter data to a table where as I can make a column editable delete a row etc. please guide me to perform these operations(insert,update and delete) on table.
    Thanks,
    Reddy.

    Hi Sridhar,
    By using ALV you can do all insert delete etc things. if you want to edit i mean you can yenter data in ALV.
    Check this...
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1
    Editing alv in web dynpro
    editing rows in alv reports
    Re: editing rows and columns in alv reports in webdynpro abap
    Cheers,
    Kris.

  • Insert data into nested tables

    Hi,
    Can someone please advice how can I insert data into nested tables using APEX.
    I have a table "employee" and a column addresses of type address_table_type object which has address1, address2, address3 columns. I want to create form in APEX that will collect address1, address2, address3. I wonder how to do this? should the item be based in database item? if yes then how can I point to the column of address_table_type
    Thanks
    --Aali                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Can you post your tabB type, sample data, and your exact insert statement?
    Is it overwriting or not commiting the inserts?
    Have you traced your session to see what is happening?

  • Insert data into a table without identity column

    Hi,
    I need to insert data into a table using data flow task. Unfortunately this table's priamry key column (integer column) is not identity column.  I am looking a way to get the primary key value for the new records. Please advice. Thanks

    Phil has a great post on generating surrogate keys in SSIS: http://www.ssistalk.com/2007/02/20/generating-surrogate-keys/

  • How to insert data in database table

    Hi experts,
                   How to insert data into database table using internal table from function module.

    Hi,
    As per my understanding are you looking for the complete API feature of data insertion into the database using the Locking Mechanism? If yes, then you need to create a Lock Object using the Primary keys of the Primary Table and Secondary Tables. You need to call the lock object first and then you need to make the entry into the table. This principle is based on  'All or None Concept'.
    For the insert Statement Key word you can have a look at the following link:
    http://help.sap.com/abapdocu/en/ABAPINSERT_SOURCE.htm
    Hope this helps.
    Thanks,
    Samantak.

Maybe you are looking for

  • Memory error

    Respected Collegues, I am a project trainee in Bioinformatics. For storing the details of 8000 sequences,i declared a two dimensional array as double[][] seqArray=new double[8000][8000]; But while running the program i encountered with a run time err

  • I restored my phone and it deleted my photo vault app which means my pictures are gone. how do i get it back?

    I restored my phone and it deleted my photo vault app which means my pictures are gone. how do i get it back?

  • Can I watch downloaded TV shows on pc?

    If I download from itunes can I watch on my computer screen? If so how? Thanks

  • MIRO - User Exit during SAVE: Read items & Update header

    Hi there! During MIRO after pressing save... I search for an user-exit or BAdI, to READ ITEM DATA and UPDATE HEADER DATA (XBLNR) after SAVE but before UPDATE. I have searched this forum, but with no luck. Many more then me seem to have the same probl

  • Package objects

    Is possible to get a list of all objects encapsulated within a package. Is there any data dictionary view etc to see what all procedure, functions, objects etc are declared/defined in any package. user_sources doesnt help much and intention is not to