on 02-26-2007 11:45 AM
Hi all
Could you please to give me any idea? If I need to build dynamic SQL on JDBC adapter. For the example
select * from table where field1=... and field2=....
How I can do?
Thanks
Park
HI,
I hope try..
inside the Query SQL Statement you can use SQL EXECUTE
which can execute a stored procedure
in which you can do
SELECT * FROM myTable WHERE myDate = <current_date>
http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
also see the below links..
Regards
Chilla..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which adapter are you using? Sender or Receievr?
Can you give more detailed example?
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Park,
JDBC sender adapter is polling and waiting for an configureable intervall. An update flag is required. You can put pure SQL. For example
select * from myTable where flag ='X' and myField1='myValue'
Additional an Update statement is required to set the flag:
update myTable set flag='X' where flag<>'X'
Regards,
Udo
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.