on 10-17-2014 8:06 AM
I am working JDBC sender.
I have Microsoft sql databse. I have to select ten fields from the database. There Is a field CurrentValue in the data structure, and it is the last field.
Every one hour, I have to select data from database. If the CurrentValue has not changed I don't have to pick data. There are two primary keys fr selecting the data. Employee name and employee number.
Is this possible with sql jdbc adapter?
Can this done by sql queerry in communication channel?
Any more inputs I need to ask?
Also telnet is disabled in my desktop, how may I check if the port given by the database guy is correct ? I want to make sure there is no firewall also
Please suggest some methods
you can do this with jdbc adapter.
in the table add one more column and give the values as "changed" if the currentValue is changed. you can use extra column in where condition to pick the data.
run the interface once in hour, you can use ATP to schedule sender channel.
for checking firewall do a telnet check. better to check with basis on this.
else run this command in your PI system (Os level)
telnet server/host port (telnet 11.242.141.11 5001)
if there is no firewall then it will show message "connected"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to update a field to check whether the data row is already processed. Which field are you updating?Are you using <TEST> in update ?
If you are using any flag field,you may ask to reset the flag whenever CurrentValue is changed.
Suman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.