Hi Friends,
I want lo truncate my records from target before loading
current month data,but i dont have permission to truncate
with truncate option
if u know any other way please give your valuable input for
this.

Thanks
Abhishek

Answers were Sorted based on User's Feedback



Hi Friends, I want lo truncate my records from target before loading current month data,but i don..

Answer / krishnakanth

If the informatia user id does not have permissions to
truncate the table in the database. Then there is no other
way we can truncate the table.

Anyways try with this option. Try to write a pre-sql
statement in the session. So that first the sql statement
will execute and then the session will start executing

Is This Answer Correct ?    5 Yes 1 No

Hi Friends, I want lo truncate my records from target before loading current month data,but i don..

Answer / sunil

Abhishek Bhai,

Possible Solution:-

1. While creating connection, use such a generic id, which
have all the permission on DB objects. This way you
definitely can play with your Target object.

2. If no such credential available then, Delete and commit
process can be implemented in pre-sql.. but process will
become very slow (depends on volume of data).

Cheers !

Is This Answer Correct ?    3 Yes 0 No

Hi Friends, I want lo truncate my records from target before loading current month data,but i don..

Answer / raj

Use delete * .... in pre-sql

Is This Answer Correct ?    5 Yes 3 No

Hi Friends, I want lo truncate my records from target before loading current month data,but i don..

Answer / venky

in target table u can write pre-sql statement as truncate
table tablename

Is This Answer Correct ?    2 Yes 0 No

Hi Friends, I want lo truncate my records from target before loading current month data,but i don..

Answer / ravi

in the warehouse designer,in targets ,in generate and
execute option truncate the table

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Informatica Interview Questions

write sql query vertical to horiozontal following table id name 1 100 2 dinesh 3 india 1 101 2 suresh 3 india 1 103 2 prakesh 3 usa i want output like id name country 100 dinesh india 101 suresh india 103 prakesh usa

0 Answers   TCS,


What are the transformations that are not supported in mapplet?

0 Answers  


What are the databases that informatica can connect to windows?

0 Answers  


Enlist some properties of sessions.

0 Answers  


in which situations do u go for starflake schema ?

6 Answers   TCS,






which T/r we can use it mapping parmeter and mapping variable? and which one is reusable for any mapping mapping parmeter or mapping varibale?

3 Answers   Wipro,


Hi, If any hav Informatica n DWH FAQ's,Plz do fwd to vanibv6@gmail.com Thnx Vani

1 Answers  


I have Employee table, 10 cols are connected to next transformation, only 4 cols are selected in SQL override. What would be passed to next col.

5 Answers   BirlaSoft,


what is session override?

2 Answers   Cap Gemini,


how lookup is acting as both active and passive ? how is it possitble?

9 Answers   TCS,


Can a joiner be used in a mapplet.

1 Answers  


Explain one complecated mapping?

3 Answers   Fidelity, Wipro,


Categories