Import SQL

Hi to all,
I'm using SAP BOPC 7.5 SP5 on SQL 2008 (WEBSERVER + DBSERVER).
I'm trying to manage Import SQL Package but int returns me this error:
Selection
DB=BBI
TABLE=BBI_DATA_CONTABILITA_BPC
COLUMNS=CATEGORY,RPTCURRENCY,TIMEID,SIGNEDDATA,SOURCE,CENTRODICOSTO,COMMESSA,INTCO,MERCATO,PRODOTTO,ENTITY,ACCOUNT,DATASRC
TRANSFORMATION=BBIFCFDataManagerTransformationFiles
COMDATAFCF_BBI_DATA_CONTABILITA_BPC.xls
CLEARDATA= No
RUNLOGIC= No
CHECKLCK= No
Messages
Package Error Events:
ErrorCode = -1073450901
Source = SQLToTxt
SubComponent= SSIS.Pipeline
Description = Convalida non riuscita per "componente "SQL" (68)". Stato di convalida restituito: "VS_NEEDSNEWMETADATA".
Validation failed for "component" SQL "(68)." Returned validation status "VS_NEEDSNEWMETADATA".
IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
Package Error Events:
ErrorCode = -1073450996
Source = SQLToTxt
SubComponent= SSIS.Pipeline
Description = Impossibile convalidare uno o più componenti.
Unable to validate one or more components.
IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
Package Error Events:
ErrorCode = -1073594105
Source = SQLToTxt
SubComponent=
Description = Errori durante la convalida dell'attività.
Errors during task validation.
IDOfInterfaceWithError= {B4E78907-3D9C-4229-9DB9-6A311E45C779}
Package Error Events:
ErrorCode = -1073450901
Source = SQLToTxt
SubComponent= SSIS.Pipeline
Description = Convalida non riuscita per "componente "SQL" (68)". Stato di convalida restituito: "VS_NEEDSNEWMETADATA".
Validation failed for "component" SQL "(68)." Returned validation status "VS_NEEDSNEWMETADATA".
IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
Package Error Events:
ErrorCode = -1073450996
Source = SQLToTxt
SubComponent= SSIS.Pipeline
Description = Impossibile convalidare uno o più componenti.
Unable to validate one or more components.
IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
Package Error Events:
ErrorCode = -1073594105
Source = SQLToTxt
SubComponent=
Description = Errori durante la convalida dell'attività.
Errors during task validation.
IDOfInterfaceWithError= {B4E78907-3D9C-4229-9DB9-6A311E45C779}
I just try to export table in Ascii file and import that, it works.
Table is in the same Db of ApplicationSet.
Someone can help me?
Thanks,
Fabiola
Edited by: Fabiola Vezza on Dec 15, 2011 11:43 AM

Hi Fabiola,
A Wiki topic was started on this here:
[http://wiki.sdn.sap.com/wiki/display/CPM/ImportingdataintoBPCusingImportSQLDataManager+package].
I don't think it is finished yet but it is a good start.
Also look at  [Note 1304267 - How to apply Import SQL package in customer appset|https://service.sap.com/sap/support/notes/1304267].
You can start looking at the package within BIDS (Business Intelligence Development Studio) and you will need to remap the objects within the package before you can use it in your application.
Thanks,
John

Similar Messages

  • Writing a stored procedure to import SQL Server table data into a Oracle table

    Hello,
    As a new DBA I have been tasked with writing a stored procedure to import SQL Server table data into an Oracle table. I have been given many suggestions on how to do it from SQL Server but I I just need to write a stored procedure to run it from the Oracle side. Suggestions/guidance on where to start would be greatly appreciated! Thank you!
    I started to write it based on what I have but I know this is not correct :/
    # Here is the select statement for the data source in SQL Server...
    SELECT COMPANY
    ,CUSTOMER
    ,TRANS_TYPE
    ,INVOICE
    ,TRANS_DATE
    ,STATUS
    ,TRAN_AMT
    ,CREDIT_AMT
    ,APPLD_AMT
    ,ADJ_AMT
    ,TRANS_USER1
    ,PROCESS_LEVEL
    ,DESCRIPTION
    ,DUE_DATE
    ,OUR_DATE
    ,OUR_TIME
    ,PROCESS_FLAG
    ,ERROR_DESCRIPTION
      FROM data_source_table_name
    #It loads data into the table in Oracle....   
    Insert into oracle_destination_table_name (
    COMPANY,
    CUSTOMER,
    TRANS_TYPE,
    INVOICE,
    TRANS_DATE,
    STATUS,
    TRANS_AMT,
    CREDIT_AMT,
    APPLD_AMT,
    ADJ_AMT,
    TRANS_USER1,
    PROCESS_LEVEL,
    DESCRIPTION,
    DUE_DATE,
    OUR_DATE,
    OUR_TIME,
    PROCESS_FLAG,
    ERROR_DESCRIPTION)
    END;

    CREATE TABLE statements would have been better as MS-SQL and Oracle don't have the same data types.
    OUR_DATE, OUR_TIME will (most likely) be ONE column in Oracle.
    DATABASE LINK
    Personally, I'd just load the data over a database link:
    insert into oracle_destination_table_name ( <column list> )
    select ... <transform data here>
    from data_source_table@mssql_db_link
    As far as creating the database link from Oracle to MS-SQL ... that is for somebody else to answer.
    (most likely you'll need to use an ODBC driver)
    EXTERNAL TABLE
    If the data from MS-SQL is in a CSV file, just use and external table.
    same concept:
    insert into oracle_destination_table_name ( <column list> )
    select ... <transform data here>
    from data_source_external_table
    MK

  • Import SQL into Fact Table - Conversion Error

    Hi All,
    I am new to BPC MS and did not know much into MS SQL.
    I am facing the Conversion error while converting between unicode and non unicode string data types.
    We are using SAP BPC 10.0 MS SP13, EPM-Addin SP18 on .Net 4
    The below is the error log
    Total Step: 4
    SQLToTxt: Failed in 0 seconds
    Import SQL into Fact Table: Failed in 0 seconds
    [Selection]
    DB = BPC
    TABLE = GlBalanceOpening
    COLUMNS = Account,Auxiliary,Curr,BalanceDateTime,Amount
    TRANSFORMATION = \JMG\LIQ_JMG\DataManager\TransformationFiles\GLOpeningBalances.xls
    CLEARDATA = No
    RUNLOGIC = No
    PROCESSCUBE = Yes
    CHECKLCK = No
    [Message]
    An error occurred while executing a package.
    Package Error Events: 
    ErrorCode = -1071636234
    Source = SQLToTxt
    SubComponent= OLE DB Source [68]
    Description = Column "Account" cannot convert between unicode and non-unicode string data types.
    IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
    Package Error Events: 
    ErrorCode = -1071636234
    Source = SQLToTxt
    SubComponent= OLE DB Source [68]
    Description = Column "AccountName" cannot convert between unicode and non-unicode string data types.
    IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
    Package Error Events: 
    ErrorCode = -1071636234
    Source = SQLToTxt
    SubComponent= OLE DB Source [68]
    Description = Column "Auxiliary" cannot convert between unicode and non-unicode string data types.
    IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
    Package Error Events: 
    ErrorCode = -1071636234
    Source = SQLToTxt
    SubComponent= OLE DB Source [68]
    Description = Column "AuxiliaryName" cannot convert between unicode and non-unicode string data types.
    IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
    Package Error Events: 
    ErrorCode = -1071636234
    Source = SQLToTxt
    SubComponent= OLE DB Source [68]
    Description = Column "Curr" cannot convert between unicode and non-unicode string data types.
    IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
    Package Error Events: 
    ErrorCode = -1071636234
    Source = SQLToTxt
    SubComponent= OLE DB Source [68]
    Description = Column "Dr" cannot convert between unicode and non-unicode string data types.
    IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
    Package Error Events: 
    ErrorCode = -1071636234
    Source = SQLToTxt
    SubComponent= OLE DB Source [68]
    Description = Column "Cr" cannot convert between unicode and non-unicode string data types.
    IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
    Package Error Events: 
    ErrorCode = -1073450901
    Source = SQLToTxt
    SubComponent= SSIS.Pipeline
    Description = "component "OLE DB Source" (68)" failed validation and returned validation status "VS_ISBROKEN".
    IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
    Package Error Events: 
    ErrorCode = -1073450996
    Source = SQLToTxt
    SubComponent= SSIS.Pipeline
    Description = One or more component failed validation.
    IDOfInterfaceWithError= {C81DFC5A-3B22-4DA3-BD3B-10BF861A7F9C}
    Package Error Events: 
    ErrorCode = -1073594105
    Source = SQLToTxt
    SubComponent=
    Description = There were errors during task validation.
    IDOfInterfaceWithError= {B4E78907-3D9C-4229-9DB9-6A311E45C779}
    Thanks and Regards,
    Raj

    Hi Raj,
    you have to modify the script of your package, see please 1629737 - Error in ImportSQL Data Manager Package
    Regards
         Roberto

  • Need to add a filter to imported SQL

    I used the File\Import-SQL menu option to import an existing query from another application. The query runs and creates a results table. I do not see an option in the Query\Request section to add a filter so that the user can select a range of values at runtime. I am using BI + Interactive Reporting Studio version 9.3.

    The short answer is, "It can't be done."
    Here's the JavaScript coder's answers.
    You can add a result filter and provide dashboard controls to enable the user to enter or select values, then use scripting to modify the filter and navigate to the results.
    You can provide dashboard controls to enable the user to enter or select values, then use scripting to modify the sql file, re-import it, then process the query.

  • Import /sql/tracker.sql as File Type = Application Export

    Im trying to download the tracker application and dont understand this instruction
    Import /sql/tracker.sql as File Type = Application Export
    Does any one know what I should do.
    many thanks

    Im trying to download the tracker application and dont understand this instruction
    Import /sql/tracker.sql as File Type = Application Export
    Does any one know what I should do.
    many thanks

  • Importing SQL into Discoverer?

    I've converted an Access application (35 tables and 150 queries) to Oracle. Is there any way to import or 'cut and paste' the SQL into Discoverer? I don't like to think I have to do each by hand.

    In discoverer plus in file options you can see
    Import Sql click this it will prompt you to give the name of sql file
    here you can give the name of the sql file containing the sql query.

  • Import SQL Table's Metadata Error for MySQL

    I am following this blog by William Li.
    SAP PI 7.1 Mapping Enhancements Series: Import SQL Table's Metadata - SAP PI 7.1 Mapping Enhancements Series: Import SQL Table's Metadata
    I am using MySQL database instead.
    Connection to the database is fine because we get to choose the tables in the schema.
    When I am importing the Table Definition in Enterprise Service Builder,
    I am getting this error
    Serialized cause: com.sap.aii.mapping.lookup.LookupException: Exception during processing the payload. Error when calling an adapter by using the communication channel CC_JDBCLookUp (Party: , Service: PT1_BC, Object ID: b088d4ef332833a89ee816faa88b5089) XI AF API call failed. Module exception: (No information available). Cause Exception: 'Error processing request in sax parser: Error when executing statement for table/stored proc. 'metadataRequest' (structure 'statement'): com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"lookuptable" WHERE 1 < 0' at line 1'.
    Any ideas for this error?

    HI,
         I have a problem trying to connect a MySQL Database, I'm using the mysql-connector-java-5.0.6-bin.jar library that I download from the MySQL Site.
         These are may connection parameters:
             JDBC Driver:  com.mysql.jdbc.Driver
             Connection:     jdbc:mysql://172.16.125.11:3306/gcctea
         If you have any idea...
    Regards,
    Luis E. Diego

  • Can i import .sql file into oracle apex?

    i'm new to oracle apex....
    Can i import .sql file into oracle apex?
    i've to import a table into apex...
    what script i have to write into the .sql file....
    pls help...
    Edited by: 794244 on Jan 31, 2011 9:31 PM

    Hi Mahesh
    Navigate to the APEX documentation page - all the documents are listed there ;) (including direct links to the step-by-step "how-to's" - great stuff)
    http://www.oracle.com/technetwork/developer-tools/apex/documentation/index.html
    Enjoy the wonderful world of APEX!
    Mike

  • Getting app-store-import-exception with FIM-MA Full Imports SQL Timeouts

    Hi,
    Any idea whats going on here? Full Import on FIM-MA leads to app-store-import-exception.
    Here is a quick profile of the situation:
    FIM Sync, FIM Service & FIM Portal all are instaled on the same machine with 24GB RAM hosted as a Virtual Machine.
    FIM-MA Full Import leads to app-store-import-exception
    Event log reports "Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding"
    Here is a screen shot: http://www.freeimagehosting.net/image.php?e5570db7f6.jpg
    As you can see, FIM-MA imported close to 118500 objects before timing out.
    Here are the things I have tried:
    Extended FIM timeout on the services as per
    Darryl's Blog
    Provided FIM MA's password as per
    Ahmed's suggestion
    Restricted SQL Service Max RAM to 15 GB (Machine has 24GB) as per
    David Lundell's suggestion
    Thanks for your help in advance.
    Thanks,
    Here is the Application Event Log
    Log Name: Application
    Source: FIMSynchronizationService
    Date: 1/6/2011 11:29:00 AM
    Event ID: 6500
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: fimsrv.fimdev.pvt
    Description:
    The description for Event ID 6500 from source FIMSynchronizationService cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    There is an error executing ILM MA full import.
    Type: System.Data.SqlClient.SqlException
    Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
    Stack Trace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
    at System.Data.SqlClient.SqlDataReader.get_MetaData()
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader()
    at Microsoft.ResourceManagement.Data.Sync.FullImportGetNext(Int64 beginObjectKey, Int64 maxObjectKey, Int32 batchSize)
    at MIIS.ManagementAgent.RavenMA.FullImportGetNextBatch(Int64 maxObjectKey, Int32 batchSize)
    the message resource is present but the message is not found in the string/message table
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="FIMSynchronizationService" />
    <EventID Qualifiers="0">6500</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2011-01-06T17:29:00.000000000Z" />
    <EventRecordID>1582399</EventRecordID>
    <Channel>Application</Channel>
    <Computer>fimsrv.fimdev.pvt</Computer>
    <Security />
    </System>
    <EventData>
    <Data>There is an error executing ILM MA full import.
    Type: System.Data.SqlClient.SqlException
    Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
    Stack Trace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
    at System.Data.SqlClient.SqlDataReader.get_MetaData()
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader()
    at Microsoft.ResourceManagement.Data.Sync.FullImportGetNext(Int64 beginObjectKey, Int64 maxObjectKey, Int32 batchSize)
    at MIIS.ManagementAgent.RavenMA.FullImportGetNextBatch(Int64 maxObjectKey, Int32 batchSize)</Data>
    </EventData>
    </Event>
    Thanks,
    Jameel Syed |
    Identity & Security Strategist | [email protected] |
    Simplified Identity and Access Management

    That is unusual. I suggest checking for database integrity and peforming index maintenance, on both the FIMService and FIMSync databases.
    You could also increase the following timeout (see link below for more settings)
    The values in Table 17 are located in the registry key: SOFTWARE\Microsoft\Forefront Identity Manager\2010\Synchronization Service.
    Table 17
    Registry value name
    Value type
    Class
    Created by
    Notes
    ReadTimeOut
    <dword>
    HKLM
    Admin
    The default value is 58, specified in seconds.
    Note
    Only used by the management agent for FIM (FIM MA) for reading from the FIM Service data base.
    http://technet.microsoft.com/en-us/library/ff800821(WS.10).aspx
    David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html

  • Error while Importing SQL Table's Metadata

    Hi
    I am creating an External defination of category "dbtab". when i try to import the table in 3rd step i get this error.
    "Error occurred while attempting to connect to database".
    I checked the JDBC channel, in the channel getting this error "Error processing request in sax parser: Error when executing statement for table/stored proc. 'metadataRequest' (structure 'statement'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode."
    Please help

    Hi,
      Check this discussion.
    Re: JDBC Channel : Connection reset
    Also try setting AutoCommit = true (Check box in the JDBC adapter)
    Regards,
    Ravi Kanth Talagana
    Edited by: Ravi Kanth Talagana on Oct 27, 2009 11:07 AM

  • Using the imported SQL Meta-data in PI 7.1

    Hi Team,
    We have successfully imported the SQL Table meta-data ( table structure ) in PI. However, we are unable to use the same structure below the 'access' node in the receiver JDBC structure.
    Looking forward for your help.
    Thank you,
    Regards,
    Rakesh.

    Do you need all the 200 fields value in your select query? If so you have to specify all of them under access node.
    See below
    <StatementName>
    <dbTableName action=u201DSELECTu201D>
        <table>realDbTableName</table>
    <access>  //note: specify below here all the 200 fields (if you need all of them here) if you need few then specify only those here.
    <col1/>
    <col2/>
    <col3/> 
    </access>
    <key1>
    <col2>val2old</col2>
    <col4>val4</col4>
    </key1>
    <key2>
    <col2>val2old2</col2>
    </key2>
    </dbTableName> 
      </StatementName>
    Another option is
    <StatementName>
    <anyName action=u201D SQL_QUERYu201D | u201CSQL_DMLu201D>
    <access> Select A,B,C .... 200 from tablename where id='blah'</access>
    <key>
      <placeholder1>value1</placeholder1>
      <placeholder2>value2<placeholder2>
    </key>
    </anyName > 
      </StatementName6>

  • Data Modeler EA1:  Importing SQL Server Data Dictionary issue

    I am using the Data Dictionary Import Wizard to import the Schema of a SQL Server 2005 database (JDBC connection has "SQL Server 2005" as the Type) into the Oracle SQL Developer Data Modeler. In step 4 of the import, under the "Import to:" section, there is only SQL Server 2000 available in the drop down.

    Database Name: Microsoft SQL Server
    Database Version 10.00.2531
    I assumed that a SQL Server 2008 DB would be handled as a SQL Server 2005 DB (that is until 2008 is supported). Currently the db is not using any SQL Server 2008 specific features.
    In Oracle Developer Data Model 2, the tables with xml data type would not import. This time, those tables did import.

  • Errors while Importing SQL into Discoverer

    Hi,
    I am trying to import the following query in Discoverer and getting the error: "No appropriate join found in EUL (possible missing mandatory filter in SQL)". Can someone assist me with this....
    select count(*),
    a.resort,
    b.some_date
    from reservation a,
    (select to_date('12/01/06','MM/DD/YY') + rownum - 1 some_date from contp where rownum <= 8) b
    where decode(checkin_dt,null,arrive_dt,checkin_dt) <= b.some_date
    and decode(checkout_dt,null,depart_dt,checkout_dt) > b.some_date and res_typ in ('I','C','Z') group by a.resort, b.some_date
    order by a.resort, b.some_date;
    Thanks,
    ~Kash

    I appreciate the solutions and here is what I have tried:
    1) It does work in SQL (Toad)
    2) I have refreshed all the Business Areas
    3) I tried creating it internally in Discoverer but it seems complexed and dont how to
    Here is another query that I was trying and getting the error "Attemp to Open Workbook failed":
    select count(*), resort, res_typ
    from res.rs_reservation
    where decode(res_checkin_dt,null,res_arrive_dt,res_checkin_dt) <= '01-DEC-06'
    and decode(res_checkout_dt,null,res_depart_dt,res_checkout_dt) > '01-DEC-06'
    and res_typ in ('I','C','Z') group by resort, res_typ;
    Please advise...
    ~Kash

  • I want to import sql file but some recode i want to ignore it and go on

    i have sql file it contine all data of anuther table i want to import this data
    to new table but i want to ignore some record (don't insert it in table)

    Can you be a bit more precise. Is it an export of the table data which you now wish to import ( would be easier to have exported just the rows you required ).
    If it is a text file you plan to import using sql loader then you could add a contraint on the database to discard those rows.
    Alternatively you may need to have a holding table to delete the records not required before you add them to the new table.

  • DB Adapter not importing SQL Svr tables

    Hi,
    Oracle Software:
    OS: Windows
    AS10g (10.1.2)
    BPEL GA Release
    10g DB (used for dehydration)
    SQL Server:
    Microsoft SQL Server 2000 - 8.00.760 (Intel X86) Dec 17 2002 14:22:05 Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition on Windows NT 5.0 (Build 2195: Service Pack 4)
    Issue:
    BPEL DB adapter is not generating a list of tables to import from a SQL Server connection.
    What I have done so far:
    In JDev, create a new DB connection to connect to the SQL Server and it works fine. I am able to see all tablesn and views by expanding the connection.
    In my BPEL partner link, I use the adapter wizard to select DB Adapter and then select the DB connection (SQL sver connection) I have created. All works well until I get to the import table screen where it does not generate a list of available tables to choose from.
    Any help would be greatly appreciated.
    Thanks!

    Hmmm ... Just to understand your problem correctly:
    - can you click on the "Import Tables" button successfully ? Meaning does this bring up another dialog titled "Import Tables" ?
    - If yes, are you able to select the tables to import ?
    - Subsequently, is the wizard not doing anything ? Is this right?
    Regardless, it would also help to run jdev via the following command: $ORACLE_HOME\integration\jdev\jdev\bin\jdev.exe [instead of the windows shortcut - JDeveloper BPEL Designer - which uses jdevw.exe]. This should launch the jdev along with a DOS window where you can see any stack trace if any being dumped by the UI code. When doing the "Import", I am sure you will see some stack trace that you could post back to this thread which would help us debug this issue further.
    Thanks.
    Shashi

Maybe you are looking for