GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Data Warehousing  >  Informatica
Go To First  |  Previous Question  |  Next Question 
 Informatica  |  Question 322 of 630    Print  
1.how to enter same record twice in target table? give me syntax.

2. how to get particular record from the table in informatica?

3.how to create primary key only on odd numbers?

4. how to get the records starting with particular letter like A in informatica?


  
Total Answers and Comments: 11 Last Update: December 17, 2007     Asked by: shivaleela 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
  Sorting Options  
  Page 1 of 2   « First    1    2    >     Last »  
August 14, 2006 11:27:10   #1  
Srinivas        

RE: 1.how to enter same record twice in target table? ...
Declere Target table twice in the mapping and move the output to both the target tables.
 
Is this answer useful? Yes | No
August 21, 2006 08:25:01   #2  
shanthi        

RE: 1.how to enter same record twice in target table? ...

don't choose the select distinct option and run the session again.u will find duplicate rows in u r target.


 
Is this answer useful? Yes | No
August 31, 2006 13:27:46   #3  
shivaleela        

RE: 1.how to enter same record twice in target table? ...

thanks  srinivas n shanthi  for ur answer.

 But my querie is different means suppose if u hv 10 records in source thn i want same 10 records should b loaded twise such tht i should get all records twise means 20 records n only in single target table .


 
Is this answer useful? Yes | No
September 01, 2006 08:59:24   #4  
Sriharsa Misra        

RE: 1.how to enter same record twice in target table? ...

use this syntex

insert into table1 select * from table1

(table1 is the name of the table)


 
Is this answer useful? Yes | No
September 05, 2006 04:08:32   #5  
Parimala        

RE: 1.how to enter same record twice in target table? ...

If the record is entered in the table, and always the records have to be duplicated, then its better to have a trigger which fires for every insert on the table.


 
Is this answer useful? Yes | No
September 29, 2006 01:16:55   #6  
varun        

RE: 1.how to enter same record twice in target table? ...
it can be done by using two field name with diff name,and connecting two the same
 
Is this answer useful? Yes | No
January 11, 2007 01:06:39   #7  
rammohan        

RE: 1.how to enter same record twice in target table? ...
If you ran session twise we can get the same record tiwse in a table.without selecting the trucate Option in session level.
 
Is this answer useful? Yes | No
March 15, 2007 14:55:25   #8  
tomtwj Member Since: March 2007   Contribution: 3    

Another way: Router Transf
>1.how to enter same record twice in target table? give me syntax.
Another way:  Router Transf can be used and use the same conditions for both groups which lets all rows pass through.  Then insert the same target table.


 
Is this answer useful? Yes | No
March 18, 2007 10:43:01   #9  
shanthi1 Member Since: March 2007   Contribution: 6    

RE: 1.how to enter same record twice in target table? ...

insert into table1 select * from table1  ........this may  not be useful if the table has contraints on it


 
Is this answer useful? Yes | No
March 18, 2007 10:47:36   #10  
shanthi1 Member Since: March 2007   Contribution: 6    

RE: 1.how to enter same record twice in target table? ...

how to get particular record from the table in informatica?


using a where clause


and to get the records starting with A..write an SQL query in Source Qualifier transformation as..

SELECT * FROM TABLENAME WHERE ENAME LIKE 'A%';


 
Is this answer useful? Yes | No
  Page 1 of 2   « First    1    2    >     Last »  


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape