3. Suppose Seq Gen is supplying a increamental value to a column
of a table, suppose, table's column value reaches to maximum
value, then what will happen, will the session fail? If it is the
situation, then what should be done so that we can stop this kind
of situation in advance?
Answers were Sorted based on User's Feedback
Yes, the Sequence generator will reset but there is a
possiblity of session failure. Lets say for the sake of
argument after seq reset initial value is 1. One of the
possible situation for session failure is that if the
sequence generator is feeding any column that has PK or SK
or Unique Index on the target table and the initial value
after reset i.e., in our scenario it's 1 exist in the table
then the session will fail with Database violation error.
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / bebbo
in the properties window of seq. gen you can either select
reset or cycle option to avoid the above situation...
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / bebbo
in the properties window of seq. gen you can either select
reset or cycle option to avoid the above situation...
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mukesh
write logic of seq gen. in a procedure and Use store proc
transformation.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / shridhar
We can use one more sequence generator after that sequence
generator or get the value of max key in unconnected lookup
tx and call that value in expression tx and add +1 to the
value and send to the next tx.
Thanks
Shridhar
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / itsranjan
In properties window of sequence generator one can select
reset or cycle option to avoid such kind of situations.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / vijaykumar
Session will not fail if it reaches the maximum default
value. The Integration Services Automatically reset the
value and it's start from 1.
| Is This Answer Correct ? | 2 Yes | 6 No |
Mapplets ( can you use source qyalifier, can you use sequence generator, can you use target)
How to list Top 10 salary, without using Rank Transmission?
I am having two tables,say table1 having cols Empid,firstname,lastname,middlename and table2 having Empid,firstname,lastname can i union them using Union t/f?
can we import source table without using source qualifier? if yes then how? if no then why?
what are the best practices to extract data from flat file source which are bigger than 100 mb memory?
What is the difference between normal and bulk loading? Which one is recommended?
All active transformations r passive or not?
What is a mapplet/worklet in informatica?
While migrating the data from one environment to another environment how would you manage the connections?
can you please explain me pre session and post session options?
What is main use of mapplet?
How can you join 3 tables? Why cant you use a single Joiner to join 3 tables.