Hi,
I want to perform the following in Informatica:
I have only <table_1> as source in my map. Can I use the nested select statement? I think I cannot. If there's any way to use it like this, please contribute.
As an alternative, I defined a Lookup Transformation on <table_2> to retrieve <field_1> of <table_2>. And now I am trying to use the Select Query as:
And while running, it gives me SQL Command not propoerly ended. Can someone explain what I am doing wrong?
Thanks in advance!
-su
I want to perform the following in Informatica:
Code:
SELECT
<field_1>, <field_2>
FROM
<table_1>
WHERE
<field_1>=(select <field_1> from <table_2>);
I have only <table_1> as source in my map. Can I use the nested select statement? I think I cannot. If there's any way to use it like this, please contribute.
As an alternative, I defined a Lookup Transformation on <table_2> to retrieve <field_1> of <table_2>. And now I am trying to use the Select Query as:
Code:
SELECT
<field_1>, <field_2>
FROM
<table_1>
WHERE
<field_1>= :LKP.LKP_myLookUp('some_parameter')
And while running, it gives me SQL Command not propoerly ended. Can someone explain what I am doing wrong?
Thanks in advance!
-su