Help get this topic noticed by sharing it on Twitter, Facebook, or email.

How to pass dynamic parameters to SOQL through OPENQUERY

I have to fetch data from multiple tables (with Master-Detail relationship) between a date range.

-- I'd like to be able to do this:

Select * from OpenQuery(Salesforce_prod,@SOQL)

-- where @SOQL is a varchar that contains an SOQL query I build dynamically.
1 person has
this question
+1
Reply