Below SOQL returning null value from Salesforce stage, but if I run the same SOQL in Salesforce Developer console I'm getting the value.
Select max(LastModifiedDate) From POI__c p
Does that DataStage Salesforce stage connector support SOQL like above?
Appreciated your help on this.
SOQL max function not working for Salesforce stage
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 5
- Joined: Tue Sep 13, 2016 5:19 pm
- Location: Australia
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
It should do. Assuming that p is an alias for the table name, you may need to qualify the column name with that alias.
Code: Select all
Select max(p.LastModifiedDate) From POI__c p
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.