are binding variables in dynamic soql not required to be in scope at the time of query?
65173
SOQL bind variable scope behavior
49515
Oracle: Dynamic query with IN clause using cursor
58708
Elegant way to convert Set into String for Dynamic SOQL IN comparison
39885
How to get value of bean property when property name itself is a dynamic variable
92034
Oracle OCI, bind variables, and queries like ID IN (1, 2, 3)
100338
Is there a LINQ syntax for the (T, int) overloads of Where and Select?
30558
Use variable with TOP in select statement in SQL Server without making it dynamic
129189
SQL Server - In clause with a declared variable
118877
Dynamic Server Name in SQL Statements (from clause)
104934
How long can an Apex identifier (variable) name be?
13858
Being that string substitution is frowned upon with forming SQL queries, how do you assign the table name dynamically?
33733
How do I create a parameterized SQL query? Why Should I?
157664
SObject row was retrieved via SOQL without querying the requested field: Opportunity.OwnerId
145960
VisualForce Page displaying ID from Soql query instead of field value
6011
How do I build a SOQL query for records in a list of IDs?
12399
How do you use script variables in psql?
99196
How can I access local scope dynamically in javascript?