Hey,
I'm working on huge sets of data and to load the entire table from the source does not makes sense.
I can write a query to get the required records only but I want to use as little SQL as I can.
I want to write a sp that will have a certain input param which can be passed by say, an ODBC stage.
Based on this input my sp will return the required dataset.
Is there any way to incorporate this?
Regards,
Harsh
Passing inputs to a SP Stage from another stage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 9
- Joined: Fri Jul 17, 2009 11:42 am
-
- Participant
- Posts: 17
- Joined: Tue Jun 23, 2009 6:44 pm
Re: Passing inputs to a SP Stage from another stage
Hi Harsh,
you can use the custom SQL along with parametrization and use the arry size as 1000 and transaction size to 10000.
Regards
Suresh
you can use the custom SQL along with parametrization and use the arry size as 1000 and transaction size to 10000.
Regards
Suresh
harsh_cs31 wrote:Hey,
I'm working on huge sets of data and to load the entire table from the source does not makes sense.
I can write a query to get the required records only but I want to use as little SQL as I can.
I want to write a sp that will have a certain input param which can be passed by say, an ODBC stage.
Based on this input my sp will return the required dataset.
Is there any way to incorporate this?
Regards,
Harsh
Suresh Angadi
-
- Participant
- Posts: 17
- Joined: Tue Jun 23, 2009 6:44 pm
Re: Passing inputs to a SP Stage from another stage
Hi Harsh,
you can use the custom SQL along with parametrization and use the arry size as 1000 and transaction size to 10000.
Regards
Suresh
you can use the custom SQL along with parametrization and use the arry size as 1000 and transaction size to 10000.
Regards
Suresh
harsh_cs31 wrote:Hey,
I'm working on huge sets of data and to load the entire table from the source does not makes sense.
I can write a query to get the required records only but I want to use as little SQL as I can.
I want to write a sp that will have a certain input param which can be passed by say, an ODBC stage.
Based on this input my sp will return the required dataset.
Is there any way to incorporate this?
Regards,
Harsh
Suresh Angadi
-
- Participant
- Posts: 9
- Joined: Fri Jul 17, 2009 11:42 am
Thanks a lot
Hey,
Thanks Grace
It sure helped
Thanks Grace
It sure helped