Only distince rows in target data store

Hi
I have an interface in which the joins in the source tables will generate duplicate rows but , I want to load only distinct rows in target datastore . How do I achieve that in ODI ?
Thanks

Hi,
In flow tab select Distinct option
Rathish

Similar Messages

  • Changing the Target data store dynamically

    Hi,
    I have a requirement to load same kind of data into 12 different target tables. Client maintains data in period vise, i.e. Jan data in a table TABLE_01, Feb data in TABLE_02, Dec data in TABLE_12 etc. The structures of all these tables are same.
    My program will process only one period’s data at a time and processed data will be loaded into a table TABLE_SRC. After this, according to the processing period, I need to post the data into the target tables TABLE_01, TABLE_02 etc. i.e. if the data is for period Jan then to TABLE_01, data is for period Feb then to TABLE_02 and so on.
    For accomplishing the same, I need to create 12 different interfaces. So is there any way to accomplish the same using a single interface by changing the target data store dynamically? I am looking for a solution other that creating procedures.
    Any Help is appreciated.
    Thanks in advance.
    DJ

    Yes, it is possible....
    1) at the target datastore use a variable at resource
    2) create a query that returns all target tables in a source tab (procedure step)
    3) at target tab, call the interface scenario send the query result as parameter.
    That will allow you execute the same interface for disitnct targets.
    Does it help you?

  • Update Key for Target Data Store

    Hi all.
    I have a little problem with a data integration scneario.
    We have Progress as a target database for an ETL interface. The data structure is very old, and the tables does not have primary keys. It's not a good idea to create physical constraints for this old structure right now.
    In order to use this database as the target I need to provide an update key for the tables. Since I don't have physical primary keys, I'd like to know if there's a way to provide only a "logical" update key for the purposes of the ETL.
    Thanks
    Denis

    Hi,
    A/ First solution:
    To create one or more logical key:
    1/ In constraint view of your datastore, click Add a key
    2/ In the box, give a name for your key
    3/ In columns, choice columns for your key
    To use it: in your interface, click on the target datastore and choice your key inthe datastore properties.
    B/ Second solution
    Directly in your interface, click on your column. In properties, click on "Incremental key". The problem is that this key is specific to this interface.
    MA

  • Retrieving only one row where the date is the greatest.

    Hello;
    I have a table of received orders, sometimes each order has multiple receipts due to back-orders and thus several rows for each purchase order receipt. All of the values in the table are identical except for the ReceivedDate field.
    I need to only get the row that has the latest ReceivedDate so I can ascertain whether the shipment has been received on-time or if it is late. For example, if I have a promised date from my vendor of 2015-01-31 for 50 widgets. I receive 40 widgets on 2015-01-29
    another 5 on 2015-01-31 and the last 5 on 2015-02-01, the entire shipment is considered to be late because I got my last widgets past the promised date.
    In my report, I don't care about the quantity received, I only care about when they were received Vs the promised date.
    So how can I only get the row that has the latest date (2015-02-01 in my example) so that I can do my on-time comparison?
    Appreciate any and all help.
    Thanks Ron...

    Hi, assuming to work in AdentureWorks db you can execute this script
    use AdventureWorks2012
    go
    select
    CustomerId,
    orderdate,
    max(orderdate) over (partition by CustomerId) as maxOrderDateForCustomer
    from sales.SalesOrderHeader
    to search all the order for each CustomerId and compare the date of each order with tha max date of all customer's orders.
    Hope this will help you
    Best regards
    Questo post è fornito "così com'è". Non conferisce garanzie o diritti di alcun tipo. Ricorda di usare la funzione "segna come risposta" per i post che ti hanno aiutato a risolvere il problema e "deseleziona come risposta" quando
    le risposte segnate non sono effettivamente utili. Questo è particolarmente utile per altri utenti che leggono il thread, alla ricerca di soluzioni a problemi similari. ENG: This posting is provided "AS IS" with no warranties, and confers no rights.
    Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Unable to delete rows from Target.

    Hello everyone,
    I am unable to delete rows from target data store. Here is what I have done.
    Source Oracle 10g - staging 11g - Target Oracle 11g
    I have implemented consistent set CDC on data model in staging and added 2 tables to CDC and turned on the journals . Both tables A and B are joined together via Column E (primary key of table A). Table A is the master table(has foreign key). Table B is child table. Target column consists of all the columns of both table A and B.
    Following is what I am able to do and not to do
    ABLE TO DO. If data is inserted into both or any of journalized tables I can successfully load the same in target by performing following steps. 1. Extend the consistency window at model level. Lock subscriber. Run the interface with any source table marked as Journalized data only. Unlock subscriber and purge journal.
    ABLE TO DO. If data is updated in any of the journalized table, along with the steps mentioned above I can execute two interfaces. In one Interface table A marked as journalized data only Joined with table B and in second interface table B marked as Journalized data only joined to table a.
    NOT ABLE TO DO If data is deleted from one or both tables it shows up as journalized data in JV$D<tablename> marked as D with date and subscriber name but when i run the interface by extending the window , locking subscriber executing both interfaces, unlock subscriber purge journals. no change takes place is Target. After unlocking subscriber step, journalized data gets removed from JV$D view. Please let me know what I am doing wrong here. How can rows delted from source can also be deleted from TARGET?
    NOTE : In the flow table SYNC_JRNL_DELETES is YES
    In moel under jounalized table tab Table have following order Table A folloed by Table B
    Thanks in advance
    Greenwich

    Sorry I still do not get it. when you say "Its a legacy app", are you talking about the VB.NET app ?
    If so then I repeat my self :-) Why not to connecting to the SQL server directly?
    * even if you need information from several databases (for example ACCESS + SQL Server), in most cases, it is much better to connect directly and get each information to the app. Then in your app you can combine the information and analyse it
    [Personal Site] [Blog] [Facebook]
    Access app is the legacy app. 

  • Abap logic not fetching multiple rows from master data table

    Hi
    I just noticed that my logic is fetching only 1 row from master data table.
    ProdHier table
    PRODHIERACHY            Level
    1000                                  1
    1000011000                      2
    10000110003333              3
    10000110004444              3
    '10000110005555              3*
    logic only fetches one row of level 3, I would like to fetch all level 3 rows.
    DATA: ITAB type table of /BI0/PPROD_HIER,
          wa like line of ITAB.
    Select * from /BI0/PPROD_HIER INTO wa where /BIC/ZPRODHTAS = 3.
    IF wa-PROD_HIER(10) = SOURCE_FIELDS-PRODH2.
         RESULT = wa-PROD_HIER.
         ELSEIF wa-PROD_HIER(5) = SOURCE_FIELDS-PRODH1.
         RESULT = wa-PROD_HIER.
    ENDIF.
    ENDSELECT.
    thanks

    Hi,,
    I have implemented the logic in end routine and it still reads only the first row.
    I am loading only PRODH1 and PROD2 but now I want to get all values of PRODH3 from the master data table.
    The first 5 values are PRODH1 and first 10 values belongs to PRODH2.
    Whenever PRODH2 = 1000011000 in source I should get the following values
    10000110001110
    10000110001120
    10000110001130
    I have multiple rows of 1000011000 so my result should be
      1000011000               10000110001110
      1000011000               10000110001120
      1000011000               10000110001130
    DATA: ITAB type table of /BI0/PPROD_HIER,
    wa like line of ITAB.
    data rp type _ty_s_TG_1.
    Select  * from /BI0/PPROD_HIER INTO table itab where /BIC/ZPRODHTAS = 3.
    LOOP AT RESULT_PACKAGE INTO rp.
    read table itab into wa with key PROD_HIER(5) = rp-PRODH1.
    IF sy-subrc EQ 0.
         rp-PRODH3 = wa-PROD_HIER.
         ELSE.
    read table itab into wa with key PROD_HIER(10) = rp-PRODH2.
    IF sy-subrc EQ 0.
         rp-PRODH3 = wa-PROD_HIER.
    ENDIF.
    ENDIF.
    MODIFY RESULT_PACKAGE FROM rp.
    ENDLOOP.
    Edited by: Bhat Vaidya on Sep 10, 2010 11:27 AM
    Edited by: Bhat Vaidya on Sep 10, 2010 11:37 AM

  • What is odiref. function to fetch column value from data store

    Hi
    Please Provide ODI Ref Function  to fetch the column value from source/target data store
    for ex: i want to fetch deptno from dept table by using odiref function.
    Thanks
    Cnu

    Hi Cnu,
    There are no odiRef functions to get data from source/target tables. Rather you can generate such query using odiRef functions and then use such query in the source command text. The retrieved data columns can then be used int eh target side command. You can find more details t Introduction to the Substitution API - 11g Release 1 (11.1.1)
    Thanks,

  • Problem using string to store evt.target.data and apply property filters

    I have about 9 buttons on my stage and I want to write code for the rollover and rollout effects, I only want to write the code once so I am trying to pass the button info into a string via evt.target.data and it pass the info properly into my string variable but when I try to set my filter to that variable, setting my movieclip instance name to that variable, I get 2 errors:
    1119: Access of possibly undefined property filters through a reference with static type String.
    Warning: 1072: Migration issue: String is not a dynamic class.  Instances cannot have members added to them dynamically.
    My code is:
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    var thumbArray:Array=new Array();
    var movieClipLoader:Loader;
    var movieClipsStage:Array=new Array(mc0,mc1,mc2,mc3,mc4,mc5,mc6,mc7,mc8);
    toolTip_mc.alpha=0;
    var lumRd:Number=.2127;
    var lumGr:Number=.7152;
    var lumBl:Number=.0722;
    //grayscale
    var grayscale:ColorMatrixFilter = new ColorMatrixFilter([lumRd, lumGr, lumBl, 0, 0,
    lumRd, lumGr, lumBl, 0, 0,
    lumRd, lumGr, lumBl, 0, 0,
    0, 0, 0, 1, 0]);
    //drop shadow
    var ds:DropShadowFilter = new DropShadowFilter();
    ds.distance=5;
    ds.blurX=10;
    ds.blurY=10;
    ds.alpha=.7;
    //varialbe to store movieclips based on rollover
    var whichThumb:String;
    var myXMLInfo:XML;
    var thumbList:XMLList;
    var toolNameList:XMLList;
    var myXMLLoader:URLLoader=new URLLoader  ;
    myXMLLoader.load(new URLRequest("stars.xml"));
    myXMLLoader.addEventListener(Event.COMPLETE, loadComplete);
    function loadComplete(evt:Event):void {
    myXMLLoader.removeEventListener(Event.COMPLETE, loadComplete);
    myXMLInfo=XML(evt.target.data);
    thumbList= new XMLList();
    toolNameList=myXMLInfo.star.@toolname;
    thumbList=myXMLInfo.star.@thumbimage;
    for (var n:int=0; n<movieClipsStage.length; n++) {
    movieClipLoader=new Loader();
    movieClipLoader.load(new URLRequest(thumbList[n]));
    movieClipsStage[n].addChild(movieClipLoader);
    mc0.filters=mc1.filters=mc2.filters=mc3.filters=mc4.filters=mc5.filters=mc6.filters=mc7.fi lters=mc8.filters=[ds,grayscale];
    mc0_bu.addEventListener(MouseEvent.ROLL_OVER, thumbRollEffect);
    function thumbRollEffect(evt:MouseEvent):void {
    whichThumb = evt.target.name;
    whichThumb.filters=[ds];
    Thank you for your help!

    kglad, thanks for helping.
    basically, i am a newbie and i'm not clear on your answer . if evt.currentTarget is better, I would like to use the best method, so thanks. i'm trying to get my head around what's going on here in the code. i get that actionscript is storing a "reference" to the object but I don't get why I can't put that reference (which is the name of the movieclip on the stage I wish to apply filters to, i.e. mc0) into a string variable (whichThumb) and then use that string variable to apply the filter (whichThumb.filters=[ds];)
    on one hand, i'm getting error that says "possibly undefined property filters thru a ref with string" which I don't get because the filters are defined outside of the function and are called intially in the load function with no problem. and on the other hand, i am getting another error saying there is a "migraiton issue" with my string not being a dynamic class. do i need to make the var whichThumb another type other than string? if so, what type. maybe that will also solve the "undefined property" issue as well.
    still learning, Thanks for help!

  • Row based Target only mode not supported

    when i try to execute a mapping i am getting the following error
    Row based Target only mode not supported
    what can be the reasons for this

    Hello Michael
    Check if you have a procedure (other than pre or post mapping) in your mapping. Every part of a mapping after a procedure can only be generated in row-based mode.
    Hope this helps
    Mate

  • Condition that takes only one row with the maximum cost of the maximum date

    I have to the following query
    SELECT distinct b.segment1 ||'.'|| b.segment2 as ITEM,
           so.vendor_site_id as SUPPLIER,
           'VE' as ORIGIN_COUNTRY_ID,
           replace(round(l.mto_costo_neto/l.can_unidades_empaque,2),',','.') as UNIT_COST,
           5 as lead_time,
           null as pickup_lead_time,
           l.can_unidades_empaque as supp_pack_size,
           1 as inner_pack_size,
           'C' as round_lvl,
           50 as ROUND_TO_INNER_PCT,
           50 as ROUND_TO_CASE_PCT,
           50 as ROUND_TO_LAYER_PCT,
           50 as ROUND_TO_PALLET_PCT,
           null as MIN_ORDER_QTY,
           null as MAX_ORDER_QTY,
           'FLAT' as PACKING_METHOD,
           'N' as PRIMARY_SUPP_IND,
           'Y' as PRIMARY_COUNTRY_IND,
           case when b.primary_unit_of_measure like '%KG%' then 'KG'
                when b.primary_unit_of_measure like '%Kg%' then 'KG'
                when b.primary_unit_of_measure like '%UND%' then 'EA'
                when b.primary_unit_of_measure = 'Kilogramo' then 'KG'
                when b.primary_unit_of_measure = 'Litro' then 'L'
                when b.primary_unit_of_measure = 'Unidad' then 'EA'
                else null
           end as DEFAULT_UOP,
           1 as TI,
           1 as HI,
           null as SUPP_HIER_TYPE_1,
           null as SUPP_HIER_LVL_1,
           null as SUPP_HIER_TYPE_2,
           null as SUPP_HIER_LVL_2,
           null as SUPP_HIER_TYPE_3,
           null as SUPP_HIER_LVL_3,
           null as CREATE_DATETIME,
           null as LAST_UPDATE_DATETIME,
           null as LAST_UPDATE_ID,
           case when b.primary_unit_of_measure like '%KG%' then 'KG'
                when b.primary_unit_of_measure like '%Kg%' then 'KG'
                when b.primary_unit_of_measure like '%UND%' then 'EA'
                when b.primary_unit_of_measure = 'Kilogramo' then 'KG'
                when b.primary_unit_of_measure = 'Litro' then 'L'
                when b.primary_unit_of_measure = 'Unidad' then 'EA'
                else null
           end as COST_UOM,
           null as TOLERANCE_TYPE,
           null as MAX_TOLERANCE,
           null as MIN_TOLERANCE
    FROM mrp.mrp_sr_assignments sr , MRP.MRP_SR_RECEIPT_ORG ro , MRP.MRP_SR_SOURCE_ORG so,
         inv.mtl_system_items_b b, lcm.cmp_lineas_cotizacion l
    WHERE sr.SOURCING_RULE_ID = ro.SOURCING_RULE_ID
          and ro.SR_RECEIPT_ID = so.SR_RECEIPT_ID
          and sr.inventory_item_id in ((select inventory_item_id  from TMP.VIVERES_VEGETALES)
                                      UNION ALL
                                      (select inventory_item_id  from TMP.GENERICOS)
                                      UNION ALL
                                      (select inventory_item_id from TMP.HIJOS_GENERICOS))
          and sr.inventory_item_id = b.inventory_item_id
          and b.organization_id = 136
          and sr.inventory_item_id = l.cod_producto_idI need to agregate the following condition
    For example, The following query
    SELECT l2.fec_ini_vigencia_costo, l2.mto_costo_neto, l2.can_unidades_empaque, l2.cod_producto,
           REPLACE(ROUND(l2.mto_costo_neto/l2.can_unidades_empaque,2),',','.')  costo_unidad
    from cmp_lineas_cotizacion l2
    order by cod_producto, fec_ini_vigencia_costo desc, mto_costo_neto descgenerate
    FEC_INI_VIGENCIA_COSTO     MTO_COSTO_NETO     CAN_UNIDADES_EMPAQUE     COD_PRODUCTO      COSTO_UNIDAD
    17/06/2010     382.56     12     1.1000008     31.88 -- THIS ONE
    17/06/2010     382.56     12     1.1000008     31.88
    17/06/2010     371.0832     12     1.1000008     30.92
    17/06/2010     371.0832     12     1.1000008     30.92
    18/05/2009     382.56     12     1.1000008     31.88
    04/05/2009     245.82     12     1.1000008     20.49
    13/04/2009     382.56     12     1.1000008     31.88
    23/03/2009     373.2072     12     1.1000008     31.1
    23/03/2009     373.2072     12     1.1000008     31.1I need to take only one row with the maximum FEC_INI_VIGENCIA with the maximum COSTO_UNIDAD of the table lcm.cmp_lineas_cotizacion l, which is calculated with the formula ROUND(l2.mto_costo_neto/l2.can_unidades_empaque,2)

    A better example
    I need only one row the maximum COSTO_UNIDAD for the maximum FEC_INI_VIGENCIA for every cod_producto_id in the table lcm.cmp_lineas_cotizacion
    I need to take these values
    FEC_INI_VIGENCIA_COSTO     MTO_COSTO_NETO     CAN_UNIDADES_EMPAQUE     COD_PRODUCTO_ID  COSTO_UNIDAD
    17/06/2010     382.56     12     1.1000008     31.88 -- THIS!
    17/06/2010     382.56     12     1.1000008     31.88
    17/06/2010     371.0832     12     1.1000008     30.92
    17/06/2010     371.0832     12     1.1000008     30.92
    18/05/2009     382.56     12     1.1000008     31.88
    04/05/2009     245.82     12     1.1000008     20.49
    13/04/2009     382.56     12     1.1000008     31.88
    17/06/2010     382.56     12     1.1000008     31.88
    17/06/2010     382.56     12     1.1000008     31.88
    17/06/2010     371.0832     12     1.1000008     30.92
    17/06/2010     371.0832     12     1.1000008     30.92
    18/05/2009     382.56     12     1.1000008     31.88
    04/05/2009     245.82     12     1.1000008     20.49
    13/04/2009     382.56     12     1.1000008     31.88
    27/10/2010     1171.549344     12     1.1000009     97.63 -- THIS!
    13/10/2010     1171.549344     12     1.1000009     97.63
    06/09/2010     1171.549344     12     1.1000009     97.63
    02/08/2010     1048.825056     12     1.1000009     87.4
    28/07/2010     754.8     12     1.1000009     62.9
    27/07/2010     614.04     12     1.1000009     51.17
    21/06/2010     954.84     12     1.1000009     79.57
    27/05/2010     614.04     12     1.1000009     51.17
    07/07/2009     1143.17     12     1.1000010     95.26
    28/03/2009     1143.17     12     1.1000010     95.26
    27/10/2008     1744.644672     12     1.1000010     145.39
    01/07/2008     1690.12224     12     1.1000010     140.84
    07/07/2009     1143.17     12     1.1000010     95.26             --THIS!
    28/03/2009     1143.17     12     1.1000010     95.26
    27/10/2008     1744.644672     12     1.1000010     145.39
    01/07/2008     1690.12224     12     1.1000010     140.84
    07/07/2009     1143.17     12     1.1000010     95.26
    28/03/2009     1143.17     12     1.1000010     95.26
    27/10/2008     1744.644672     12     1.1000010     145.39
    01/07/2008     1690.12224     12     1.1000010     140.84

  • Error while Data Store Object  activation

    Dear Guru's
        I'm new to BI 7.......
        I'm trying to load data to Data Store Object from PSA through DTP and it was successful upto newdata table. But while activating the request to active table the total status of the request turned as red and in DETAILS all the messages were in green.
        Kindly let me know what could be the problem.
    Surely points will be awarded
    thanks in advance.....
    with regards,
    Viswa

    Dear KK,
    Here I printed the log pls go theough it..
    Job started
    Step 001 started (program RSDELPART1, variant &0000000000000, user ID 160624)
    Delete is running: Data target ZIC_EX1, from 57 to 57
    FB RSM1_CHECK_DM_GOT_REQUEST called from PRG RSDELPART1; row 000875
    Request '57'; DTA 'ZIC_EX1'; action 'D'; with dialog 'X'
    Leave RSM1_CHECK_DM_GOT_REQUEST in row 70; Req_State ''
    Overall status 'Red' (user 160624)
    Incorrect data could be visible in Reporting (see long text)
    Status transition 2 / 3 to 9 / 9 completed successfully
    SQL: 15.05.2007 13:26:26 160624
    ALTER TABLE "/BIC/B0000161000" TRUNCATE PARTITION
    "/BIC/B00001610000000000002"
    SQL-END: 15.05.2007 13:26:26 00:00:00
    Request DTPR_6K1ZWLCJLY9ZF4NLHC91N1J10 deleted from PSA;REQICODS entry also deleted
    Request DTPR_6K1ZWLCJLY9ZF4NLHC91N1J10 not found in IC ZIC_EX1;CODS also deleted
    Request DTPR_6K1ZWLCJLY9ZF4NLHC91N1J10 deleted from PSA;EQICODS entry also deleted
    Overall status 'Deleted' (user 160624)
    Delete is finished: Data target ZIC_EX1, from 57 to 57
    Job finished
    with regards
    Viswa

  • How to remove only one row from the database using labview6.1

    using labview 6.1 I create a table with various rows and columns and store bulk of data's in them.,, what procedure should I follow to remove only one paticular row from the database? Help me out with an example please,,
    Thanking you in advance!

    Hi,
    If you have the database toolkit you can delete a row using just a SQL Query to "DB Tools Execute Query.VI"
    Example:
    DELETE FROM Table name Where SerialNum='Value' And Date='Value' And Time='Value'
    See also attached VI
    Best Regards
    Johan
    Attachments:
    Delete_a_row_in_a_database_table.vi ‏48 KB

  • TtRestoring a Data Store w/ a Large PermSize to a Smaller PermSize

    If have a backup of a data store created by ttBackup. I'd like to restore that data store into a data store with a smaller PermSize. The original data should fit in the new data store. However, I'm encountering errors doing this.
    I've done the following:
    - Ran ttBackup on the source data store.
    - The source data store has a PermSize of 16 Gb, but it's backup file is about 4.5 Gbytes.
    - On the target machine, I created an entry in the odbc.ini for the new data store, but with a PermSize=6144
    - On the target machine, I then run ttIsql target_dsn_name
    - This works okay and ipcs shows a shared memory segment with a size that correlates to the PermSize=6144.
    - Then that data store is ttDestroy'ed to get it out of the way.
    - Next I ran: ttRestore -fname source_dsn_name -connstr "DSN=target_dsn_name;Preallocate=1;PermSize=6144;TempSize=120" -dir . -noconn
    - This succeeds, but only because "-noconn" was specified.
    - When I 1st try to connect to the datastore by running: ttIsql "DSN=target_dsn_name;PermSize=6144;TempSize=120"
    - It fails with the following error:
    836: Cannot create data store shared-memory segment, error 22
    703: Subdaemon connect to data store failed with error TT836
    - The tterror.log contains:
    19:59:05.54 Err : : 3810: TT14000: TimesTen daemon internal error: Error 22 creating shared segment, KEY 0x0401a8b2
    19:59:05.54 Err : : 3810: -- OS reports invalid shared segment size
    19:59:05.54 Err : : 3810: -- Confirm that SHMMAX kernel parameter is set > datastore size
    19:59:05.54 Err : : 3820: subd: Error identified in [sub.c: line 3188]
    19:59:05.54 Err : : 3820: subd: (Error 836): TT0836: Cannot create data store shared-memory segment, error 22 -- file "db.c", lineno 9342, procedure "sbDbConnect"
    19:59:05.54 Err : : 3820: file "db.c", lineno 9342, procedure "sbDbConnect"
    19:59:05.54 Warn: : 3820: subd: connect trouble, rc 1, reason 836
    19:59:05.54 Err : : 3820: Err 836: TT0836: Cannot create data store shared-memory segment, error 22 -- file "db.c", lineno 9342, procedure "sbDbConnect"
    19:59:05.54 Err : : 3810: TT14000: TimesTen daemon internal error: Could not send 'manage' request to subdaemon rc 400 err1 703 err2 836
    19:59:06.45 Warn: : 3810: 3820 ------------------: subdaemon process exited
    Note that on the target machine total shared memory is configured for only 10 Gb, which is smaller than the size of the original data store.

    Hi Brian,
    ttRestore cannot be used for this purpose. The restored datastroe will always have the PermSize that was in effect when it was backed up. You cannot shrink an existing datastore. If you need to move the tables and data to a store with a smaller PermSize (assuming they will fit of course) then you need to use ttMigrate instead.
    Chris

  • Mapping of target data source

    hi all,
    while mapping the target datasource column we just write the column name in the mapping area and the query will automatically be generated.
    but i want to write my own query in the mapping area.
    how can i do this?
    means i am not able to write the 'from table_name' statement in the mapping area.
    please give any solution.
    regards,
    prateek.

    hi,
    thanks for rplying.
    if i put the where condition at the source database using filter then all the data will be filtered.
    but in my case the where condition is required only when i am inserting the data to target.
    if i put the filter at the source then the whole answer will get filtered.
    and one more thing, while inserting the data to the target datastore we can execute the query only on one of the source data store.
    the value that i want to insert in the target column requires a query to get executed on two tables(source datastore).
    is there any way to execute that query on more than one or two datastore?
    can u please tell me that how to change the filter condition at the interface level?
    thanks and regards,
    prateek.

  • Problem with concatenated data store and VACHAR(4000) field

    Have a concatenated data store built from 18 columns in one table. The main column for the index is a VARCHAR(4000) field. When we insert more than 3215 characters in that field the row disappers from the index, 3215 characters or less works fine.
    Anyone know why?

    hi,
    If you want to display them in an input field you will need to use expression box and use the formula as store@datastorefield.
    if you want to display in the Plain text go to the display tab in the properties of plain text and use the same formula here, in plain text you can only display the values present in the datastore.
    Regards,
    Rk.

Maybe you are looking for