on 01-15-2015 6:36 AM
Hi all,
I need to take data from two interfaces of MS SQL. Sender JDBC Communication channel.
In one, I have to take data from Jan 1st onwards till today. What date function can I use for that?
In another, I need to take data for two days each, Jan 1st and 2nd. Then Jan 3rd and 4th, like that. Here I have to change querry after executing each time. What function can I use here?
Regards
Harish Babu
Hi Harish,
You can use the SELECT XML format for JDBC: Defining a SELECT Statement - Advanced Adapter Engine - SAP Library
Also you can use the SELECT_QUERY and to work with the date format directly Defining an SQL_QUERY Statement - Advanced Adapter Engine - SAP Library, to work with dates: MS SQL Datetime convert examples
Personally i'd rather the first option and to change the date format with the DateTrans in the mapping.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.