Skip to Content
author's profile photo Former Member
Former Member

怎样避免导入重复记录

在Datasource中有个选项: Delivery of Duplicate Data Recs.我将它设为None,然后运行InfoPackage,发现PSA中导入的数据有重复的。我的datasource类型是transaction data。各位大侠有谁知道原因的么,是不是还有其它地方没有设置?

期间得到一个warning,意思似乎是重复数据检查只针对attribute和text,对transaction data的datasource无效,是不是这样的?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 04, 2009 at 01:13 PM

    1. none的选项只是指数据在同一个request中不会出现重复,如果你的PSA被多个request fill,在db的table中确是会出现重复。

    2. Allowed的选项只是指数据允许在同一个request中可出现重复,但也不会是在同一个data package中。

    3. 1,2可用的前提是DataSource中已经定义了Key Field

    4. 即使PSA里有重复,你也可以在后面的过程中,滤掉他们。

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 04, 2009 at 09:59 AM

    我也好想知道应该怎样处理,会不会有重复的数据出现!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.