Hi,
I want to use select query in the parameter where dabasename and schema name is again a parameter .
In some of the select queries we have join on multiple tables and other select queries we don't have join . So, if join on multiple tables is part of a select query then how to use it in parameter to make it generalize. So, can we call a parameter within a parameter?
Thanks In Advance.
G.K.K
Using Parameter with in a Parmeter
Moderators: chulett, rschirm, roy
I know that parameters are Serial and cannot be embedded in between.
Lets assume that you have
Lets assume that you have
Code: Select all
parameterA = 'Hello World'
ParameterB = 'Big'
You can combine them as 'Big Hello World' and 'Hello World Big' but you can never get 'Hello Big World'
But you can define ParameterA = 'Hello' ParameterB = 'Big' and ParameterC = 'World'
But that's the question, "in between" or "within". What you cannot do is define a job parameter (let's call it B) and for some portion of B you reference another job parameter - let's say A:
Parameter A: "1"
Parameter B: "100":#A#:"002"
Parameter A: "1"
Parameter B: "100":#A#:"002"
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Re: Using Parameter with in a Parmeter
G.K.K wrote:Hi,
I want to use select query in the parameter where dabasename and schema name is again a parameter .
In some of the select queries we have join on multiple tables and other select queries we don't have join . So, if join on multiple tables is part of a select query then how to use it in parameter to make it generalize. So, can we call a parameter within a parameter?
Thanks In Advance.
G.K.K
Hi,
Give us a proper example to explain you in a better way.
Regards,
Gorthi.
-
- Participant
- Posts: 7
- Joined: Tue Aug 23, 2011 11:39 am
- Location: Chennai