on 07-05-2007 12:47 PM
Hello,
I have following statement:
select field1, field2,....,field10 from table( cast (get_mhdata(:1,:2) as mhdata))
where mhdata is an oracle type with 10 fields.
It works good, but I don't know how can I use this statement in xml sql statement.
Please, can you tell me if it is really possible.
Thanks in regards.
Hi
You cant pass the parameters if you are executing writing this select function from the communication channel.
You have 3 options:
1) Use a stored procedure and execute from the communication channel
2) Use a stored procedure and execute via message mapping in the IR - here you can pass parameters
3) Same as above but call the query via SQL select - you can also pass parameters.
sincerely,
--NM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
cannot anyone help me with this problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
repost
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
repost
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Farit,
Do u want to use this in Sender comm.channel. Then no need to change anything juz give the same SQL in the comm. channel, If I understood wrong, reply back.
Best regards,
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.