How to jion 2 tables, without using any condition?
Answers were Sorted based on User's Feedback
Answer / jaimeen shah
it is not possible to actually join two tables without
using any condition.
if U would like to join two tables, then in source
qualifier transformation add all the port from two tables (
if both tables are from same database source) and write
down your join condition in user defined join option or
otherwise write down join condition inside the sql query
option with generated sql query.
if u use two different database source then use joiner to
join the two tables.
| Is This Answer Correct ? | 24 Yes | 4 No |
Answer / kalyan
In SQL override (Source Qualifier level) write a query to
join the 2 tables like emp & dept as follows:
Select * from emp,dept;
The above query will return the cartesian product of the 2
tables; BTW, this don't have any condition...
| Is This Answer Correct ? | 16 Yes | 2 No |
Answer / raj
Add dummy column in expression or Source Qul. for both
source and use that column in join condition.
| Is This Answer Correct ? | 12 Yes | 4 No |
Answer / bittu sarkar
simply use a dummy condition like 1=1.
This works :)
| Is This Answer Correct ? | 8 Yes | 3 No |
Answer / balu024
use union transformation, if two tables having same meta data
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / chetan sharma
use natural join.
it automatically takes column from the both of table that are equal via column name and their datatype.
example:> two table employee,department and one field is
common b/w these two table and this is dept_no then
"select * from employee natural join department" will automatically retrieve the those rows from the both table that have the same dept_no.........
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / manjula
it is not possible to actually join two tables without
using any condition.
if U would like to join two tables, then in source
qualifier transformation add all the port from two tables (
if both tables are from same database source) and write
down your join condition in user defined join option or
otherwise write down join condition inside the sql query
option with generated sql query.
if u use two different database source then use joiner to
join the two tables
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / asif
can anybody explain me how to join two tables without using
joins with example....
| Is This Answer Correct ? | 1 Yes | 1 No |
Is snow flake or star schema used? If star schema means why?
Explain the types of transformations?
In warehouses how many schemas are there?
how can you load data into target table without leading zeor's
i have source data like id name sal 1 a 65020 2 b 78250 3 c 58264 but how to get target like this id name sal 1 a Sixty five thousand twenty 2 b Seventy thousand two fify 3 c Fifty eight thousand two sixty four
From where you extract the data, how you did it into informatica? explain....
1 Answers Accenture, Unisoft Infotech,
If a workflow stops or fails after loading 10k records ? How can you recover it and If there is no order while reading data from source ?
how can we convert a column into row in informatica? Eg: INPUT- a x Output Like: a b c b y x y z c z
Where is metadata stored?
What do you understand by term role-playing dimension?
How to display First letter of Names in Caps?
How do you do error handling in Informatica?